@welib/n3-esm
v0.0.6
Published
subset of N3 library ported to work with ES modules
Downloads
2
Readme
This is a fork of the rdfjs/N3.js project suitable for use in the browser. Specifically, this fork means to obviate any need for using a bundler such as webpack or browserify so that the code can be imported directly from caches like unpkg.com with minimal importmaps.
<html>
<script type="importmap">
{
"imports": {
"n3": "https://unpkg.com/@welib/n3-esm/n3.js"
}
}
</script>
<script type="module">
import {Parser} from "n3";
</script>
</html>