-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathreadme.template
More file actions
33 lines (22 loc) · 1.23 KB
/
Copy pathreadme.template
File metadata and controls
33 lines (22 loc) · 1.23 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
[](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/darray-back/network/dependents?dependent_type=PACKAGE)
[](https://github.com/75lb/array-back/actions/workflows/node.js.yml)
${blocks}
### 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.
From a Node CommonJS module:
\`\`\`js
const arrayBack = (await import('array-back')).default
\`\`\`
From a Node.js JavaScript Module:
\`\`\`js
import arrayBack from 'array-back'
\`\`\`
Within an modern browser JavaScript Module:
\`\`\`js
import arrayBack from './node_modules/array-back/index.js'
\`\`\`
* * *
© 2015-26 [Lloyd Brookes](https://github.com/75lb) \<opensource@75lb.com\>.