Skip to main content
Deno 2 is finally here 🎉️
Learn more

Arrays

ES2019 ES2020

Provides utility methods for common Array operations. Supports both Deno and Node.js runtimes.

Deno

No installation required. Simply import the module at the start of your file.

import 'https://deno.land/x/arrays/mod.ts'

For usage examples and related documentation please view the Deno Docs.

Node.js

$ npm install --save ts-arrays

For usage examples and related documentation please view the Node Docs.


Running Tests

In order to run both the Deno and Jest suites, execute the following command from the root directory.

$ yarn test

Jest

In order to run only the Jest suite, execute the following command from the root directory.

$ yarn test:jest

Deno

In order to run only the Deno suite, execute the following command from the root directory.

$ yarn test:deno

License

MIT