File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,11 @@ See [docs](https://iterable-iterator.github.io/iter/index.html).
11
11
> ` regeneratorRuntime ` to be defined, for instance by importing
12
12
> [ regenerator-runtime/runtime] ( https://www.npmjs.com/package/regenerator-runtime ) .
13
13
14
+ ``` js
15
+ import {iter } from ' @iterable-iterator/iter' ;
16
+ iter (' ABC' ).next ().value ; // A
17
+ ```
18
+
14
19
[ ![ License] ( https://img.shields.io/github/license/iterable-iterator/iter.svg )] ( https://raw.githubusercontent.com/iterable-iterator/iter/main/LICENSE )
15
20
[ ![ Version] ( https://img.shields.io/npm/v/@iterable-iterator/iter.svg )] ( https://www.npmjs.org/package/@iterable-iterator/iter )
16
21
[ ![ Tests] ( https://img.shields.io/github/workflow/status/iterable-iterator/iter/ci:test?event=push&label=tests )] ( https://github.com/iterable-iterator/iter/actions/workflows/ci:test.yml?query=branch:main )
You can’t perform that action at this time.
0 commit comments