Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aatauil authored Mar 1, 2023
1 parent 618d704 commit 4732494
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
sparql-editor
# sparql-editor

## Installation:
`npm i sparql-editor`

## Simple usage example:
```js

import { createSparqlEditor } from "sparql-editor"

const editor = createSparqlEditor({
parent: document.getElementById("editor"),
onChange: onChange
doc: "default value"
});

function onChange(value) {
console.log(value)
}
```

0 comments on commit 4732494

Please sign in to comment.