Skip to content
/ sssom-js Public

Simple Standard for Sharing Ontology Mappings (SSOM) JavaScript library

License

Notifications You must be signed in to change notification settings

gbv/sssom-js

Repository files navigation

sssom-js

Test NPM Version

Simple Standard for Sharing Ontology Mappings (SSOM) JavaScript library

This Node package provides methods and a command line client to process mappings in SSSOM format.

Table of Contents

Install

npm install sssom-js

Requires Node.js >= 18.

Usage

See API for usage as a library. The package includes the command line client sssom. Please call sssom --help for usage.

API

The package exports the following:

TSVReader

This event emitter parses SSSOM/TSV from a stream and emits metadata and mapping events.

parseSSSOM (input, options)

This function parses SSSOM in format options.from (default tsv) from a stream or file and returns a mapping set. The result should directly be serializable as SSSOM/JSON.

parseTSV (input, options)

This function parses SSSOM/TSV from a stream or file and returns a mapping set. The result should directly be serializable as SSSOM/JSON.

Maintainers

Contribute

Contributions are welcome! Best use the issue tracker for questions, bug reports, and/or feature requests!

License

MIT license

About

Simple Standard for Sharing Ontology Mappings (SSOM) JavaScript library

Resources

License

Stars

Watchers

Forks

Packages

No packages published