curray
v1.0.12
Published
Curray is an extension library for the native JavaScript Array object.
Downloads
272
Readme
Array Extensions for TypeScript
Curray adds extra functionality to the native JavaScript Array type without the added overhead of an expensive library.
This package is based on the library linqts.
Install
Install the Curray package through NPM:
npm i --save curray
Alternatively you can download the package from the Releases page.
This library doesn't have any exported members so you either need to include the appropriate file from /dist
manually, or add a fake import to your application somewhere to trick your bundler to include it:
import { curray } from 'curray';
...
curray();
This function doesn't actually do anything.
NPM scripts
npm t
: Run test suitenpm start
: Runnpm run build
in watch modenpm run test:watch
: Run test suite in interactive watch modenpm run test:prod
: Run linting and generate coveragenpm run build
: Generate bundles and typingsnpm run lint
: Lints code