@bemoje/arr-sorted
v1.0.1
Published
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping.
Downloads
8
Maintainers
Keywords
Readme
@bemoje/arr-sorted
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping. Github repository create, delete and commit. Jsdoc block comment description triggers package description updates. Package keyword-extraction from block comments in source code.
Version
Travis CI
Dependencies
Stats
Donate
Installation
npm install @bemoje/arr-sorted
npm install --save @bemoje/arr-sorted
npm install --save-dev @bemoje/arr-sorted
Usage
import arrSorted from '@bemoje/arr-sorted'
arrSorted()
//=> undefined
Tests
Uses Jest to test module functionality. Run tests to get coverage details.
npm run test
API
arrSorted
Node library template package with full ESM support. All features available as npm scripts: Jest testing. Rollup build. Rename package - affecting all relevant files. Readme generator. Markdown and HTML API-documentation. Npm publish and version bumping. Github repository create, delete and commit. Jsdoc block comment description triggers package description updates. Package keyword-extraction from block comments in source code.
Parameters
num
number numbername
string namecallback
theCallback An addable instance is passed to the callback.
Returns
void
theCallback
Callback type definition.
Type: Function
Parameters
addable
Addable The string
Returns
void
Addable
Extends Number
A class that extends the native Number-class and
Parameters
num
number The numbername
(optional, default'myAddable'
)
add
Adds 'n'
Parameters
n
number The number to add