You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.4 KiB
1.4 KiB
[](https://www.npmjs.org/package/array-back)
[](https://www.npmjs.org/package/array-back)
[](https://travis-ci.org/75lb/array-back)
[](https://coveralls.io/github/75lb/array-back?branch=master)
[](https://david-dm.org/75lb/array-back)
[](https://github.com/feross/standard)
{{>main}}
### Load anywhere
This library is compatible with Node.js, the Web and any style of module loader. It can be loaded anywhere, natively without transpilation.
Node.js:
```js
const arrayify = require('array-back')
```
Within Node.js with ECMAScript Module support enabled:
```js
import arrayify from 'array-back'
```
Within an modern browser ECMAScript Module:
```js
import arrayify from './node_modules/array-back/index.mjs'
```
Old browser (adds `window.arrayBack`):
```html
<script nomodule src="./node_modules/array-back/dist/index.js"></script>
```
* * *
© 2015-19 Lloyd Brookes \<75pound@gmail.com\>. Documented by [jsdoc-to-markdown](https://github.com/75lb/jsdoc-to-markdown).