Skip to content

Commit 2bde594

Browse files
📚 docs: Remove reference to unneeded regenerator runtime.
1 parent 611d266 commit 2bde594

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

doc/manual/usage.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
11
# Usage
22

3-
The code needs a ES2015+ polyfill to work, for example
4-
[regenerator-runtime/runtime](https://babeljs.io/docs/usage/polyfill).
3+
Require the library where needed
54
```js
6-
require( 'regenerator-runtime/runtime' ) ;
5+
const { ZZ } = require( '@aureooms/js-integer' ) ;
76
// or
8-
import 'regenerator-runtime/runtime.js' ;
9-
```
10-
11-
Then
12-
```js
13-
const integer = require( '@aureooms/js-integer' ) ;
14-
// or
15-
import * as integer from '@aureooms/js-integer' ;
7+
import { ZZ } from '@aureooms/js-integer' ;
168
```
179

1810
## Notation

0 commit comments

Comments
 (0)