
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@lifeomic/termdiff
Advanced tools
Compare ontologies in order to migrate between them.
Install the @lifeomic/termdiff package.
npm install @lifeomic/termdiff
or
yarn add @lifeomic/termdiff
Import the diff function:
import { diff } from 'termdiff';
Apply it to create a changeset:
const changeset = diff([{ 'foo': 'bar'}], [{'qux': 'baz'}])
changeset will contain be an array of operations:
console.log(JSON.stringify(changeset, null, 2));
[
{
"op": "add",
"value": {
"qux": "baz"
}
},
{
"op": "remove",
"value": {
"foo": "bar"
}
}
]
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to release the project.
What things you need to install the software and how to install them
Install all dependencies using yarn:
yarn install
We use jest for testing and enforce 100% code coverage:
yarn test
Coding style is enforced through eslint:
yarn lint
You can invoke the following to style your code:
yarn lint --fix
Deployments are automated using GitHub Actions. Update the version in package.json to release a new version
See the section on versioning to learn more.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details
FAQs
Compare ontologies and migrate between them.
The npm package @lifeomic/termdiff receives a total of 1 weekly downloads. As such, @lifeomic/termdiff popularity was classified as not popular.
We found that @lifeomic/termdiff demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.