Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed Apr 20, 2020
1 parent 16dab99 commit 14a22d1
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions README.md
Expand Up @@ -25,12 +25,14 @@ Installation
### Using [npm](http://npmjs.org/) package manager

npm install opentype.js

```js
const opentype = require('opentype.js');

const opentype = require('opentype.js');
import opentype from 'opentype.js'

import opentype from 'opentype.js'

import { load } from 'opentype.js'
import { load } from 'opentype.js'
```

Using TypeScript? [See this example](examples/typescript)

Expand Down

0 comments on commit 14a22d1

Please sign in to comment.