Skip to content

Javascript library to convert EDAM to JSON/JSON-LD

License

Notifications You must be signed in to change notification settings

bio-tools-community/edam2json-js

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edam2json-js

Javascript library to convert EDAM to JSON/JSON-LD

Installation

$ yarn add edam2json-js

or

$ npm install edam2json-js

Importing/Requiring

import { jsonTreeFromURL } from "edam2json-js";

or

const jsonTreeFromURL = require("edam2json-js").jsonTreeFromURL;

Usage

jsonTreeFromURL is a function that takes a url (with .owl extention) as a first argument and outputs the converted json tree to the callback function passed as a second argument

const url =
  "https://raw.githubusercontent.com/edamontology/edamontology/main/EDAM_dev.owl";

jsonTreeFromURL(url, (tree) => {
  console.log(tree);
});

License

MIT license

About

Javascript library to convert EDAM to JSON/JSON-LD

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%