JSPM

math-sort

1.0.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q22877F
  • License MIT

Sort an array of numbers, in ascending order

Package Exports

  • math-sort

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (math-sort) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

math-sort

Sort an array of numbers, in ascending order

Build Status

js-semistandard-style

Install

$ npm install --save math-sort

Usage

var mathSort = require('math-sort');

mathSort([100, 10, 20, 30, 1, 5])
//=> [1, 5, 10, 20, 30, 100]

API

mathSort(input)

input

Required
Type: Array of numbers

Input array of numbers

License

MIT © Siddharth Kannan