-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathREADME.hbs
More file actions
35 lines (23 loc) · 1.28 KB
/
README.hbs
File metadata and controls
35 lines (23 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[](https://www.npmjs.org/package/array-back)
[](https://www.npmjs.org/package/array-back)
[](https://github.com/75lb/array-back/network/dependents?dependent_type=REPOSITORY)
[](https://github.com/75lb/array-back/network/dependents?dependent_type=PACKAGE)
[](https://github.com/75lb/array-back/actions/workflows/node.js.yml)
{{>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.js'
```
* * *
© 2015-26 [Lloyd Brookes](https://github.com/75lb) \<opensource@75lb.com\>.
Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).