Skip to content

Commit 2b9b266

Browse files
committed
show JSPM usage
jsonld.js works great with JSPM+systemjs
1 parent 1839531 commit 2b9b266

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@ define(['jsonld'], function(jsonld) { ... });
7373
<script src="//cdnjs.cloudflare.com/ajax/libs/jsonld/0.3.15/jsonld.js"></script>
7474
```
7575

76+
### JSPM
77+
78+
```
79+
jspm install npm:jsonld
80+
```
81+
82+
``` js
83+
import * as jsonld from 'jsonld';
84+
// or
85+
import {promises} from 'jsonld';
86+
// or
87+
import {JsondLdProcessor} from 'jsonld';
88+
```
89+
7690
## Quick Examples
7791

7892
```js

0 commit comments

Comments
 (0)