--- layout: posts title: Api - importer Namespace ---

Index

Functions

fromSVGPathData

parseNumericList

  • parseNumericList(s: string): number[]
  • Create a numeric array from a string of numbers. The numbers may be delimited by anything non-numeric.

    Example:

    var n = makerjs.importer.parseNumericList('5, 10, 15.20 25-30-35 4e1 .5');
    

    Parameters

    • s: string

      The string of numbers.

    Returns number[]

    Array of numbers.

Generated using TypeDoc