Skip to content

Commit f7ab7c4

Browse files
committed
Updated readme.md
1 parent 29fda64 commit f7ab7c4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ npm install --save spelling-variations
1313
Now you can use the library as you wish:
1414

1515
```javascript
16-
17-
// for node environments:
18-
const spellingVariations = require("spelling-variations");
16+
// import the module
17+
import spellingVariations from "spelling-variations";
1918

2019
var uk_version = new spellingVariations("theater").toUK;
2120
console.log(uk_version);

0 commit comments

Comments
 (0)