@iterable-iterator/list
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "@iterable-iterator/list", | ||
"description": "Iterable to Array for JavaScript", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"license": "AGPL-3.0", | ||
@@ -6,0 +6,0 @@ "author": "make-github-pseudonymous-again", |
@@ -7,8 +7,9 @@ :oden: [@iterable-iterator/list](https://iterable-iterator.github.io/list) | ||
> :building_construction: Caveat emptor! This is work in progress. Code may be | ||
> working. Documentation may be present. Coherence may be. Maybe. | ||
> :warning: This is just an alias for [`Array.from`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from). | ||
> In 99.99999% of the cases please use `Array.from` directly. | ||
> :warning: Depending on your environment, the code may require | ||
> `regeneratorRuntime` to be defined, for instance by importing | ||
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime). | ||
```js | ||
import {list} from '@iterable-iterator/list'; | ||
list('abc'); // ['a', 'b', 'c'] | ||
``` | ||
@@ -15,0 +16,0 @@ [![License](https://img.shields.io/github/license/iterable-iterator/list.svg)](https://raw.githubusercontent.com/iterable-iterator/list/main/LICENSE) |
29
483518