https://github.com/75lb/array-back
Isomorphic, load-anywhere arrayify function
https://github.com/75lb/array-back
arrayify javascript
Last synced: about 2 months ago
JSON representation
Isomorphic, load-anywhere arrayify function
- Host: GitHub
- URL: https://github.com/75lb/array-back
- Owner: 75lb
- License: mit
- Created: 2015-07-01T21:47:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-09-03T13:29:51.000Z (over 1 year ago)
- Last Synced: 2025-03-28T21:09:14.791Z (about 2 months ago)
- Topics: arrayify, javascript
- Language: JavaScript
- Homepage:
- Size: 233 KB
- Stars: 81
- Watchers: 1
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.hbs
- License: LICENSE
Awesome Lists containing this project
README
[](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)
[](https://coveralls.io/github/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.js'
```* * *
© 2015-22 [Lloyd Brookes](https://github.com/75lb) \<[email protected]\>.
Isomorphic test suite by [test-runner](https://github.com/test-runner-js/test-runner) and [web-runner](https://github.com/test-runner-js/web-runner). Documented by [jsdoc-to-markdown](https://github.com/jsdoc2md/jsdoc-to-markdown).