Skip to content

Commit 42e817d

Browse files
committed
use import in README
1 parent 262a359 commit 42e817d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ npm install midi-writer-js
1818
Getting Started
1919
------------
2020
```javascript
21-
const MidiWriter = require('midi-writer-js');
21+
import MidiWriter from 'midi-writer-js';
2222

2323
// Start with a new track
2424
const track = new MidiWriter.Track();

0 commit comments

Comments
 (0)