Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
syedhasandigi committed Oct 15, 2024
1 parent 985a18e commit 83e347e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ Build javascript files
Basic usage

```javascript
import { parseDirectories, validateDirectories} from "dtdl-parser"
import { getInterop } from 'dtdl-parser/src/interop'
import { parseDirectories, validateDirectories, getInterop } from "dtdl-parser"

const parser = await getInterop()
parseDirectories('../dtdl/simple', parser)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@digicatapult/dtdl-parser",
"version": "0.0.11",
"version": "0.0.12",
"description": "JS tool to parse DTDL defined Ontologies",
"main": "build/src/index.js",
"type": "module",
Expand Down

0 comments on commit 83e347e

Please sign in to comment.