Skip to content
💗 npm package for accessing UMLS REST APIs (unofficial)
JavaScript TypeScript
Branch: develop
Clone or download
Latest commit 18632f0 Jan 12, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows test: complete first mocktest and GH action for PR Jan 12, 2020
docs docs: Add jsdoc Jan 12, 2020
mocktest test: complete first mocktest and GH action for PR Jan 12, 2020
notes docs: Add jsdoc Jan 12, 2020
scripts feat: gpr.js to add scoped package for github Jan 6, 2020
src test: complete first mocktest and GH action for PR Jan 12, 2020
test feat: move to .env Jan 6, 2020
.babelrc feat: Add typescript and convert Search to ts Dec 31, 2019
.env.example feat: move to .env Jan 6, 2020
.gitignore feat: move to .env Jan 6, 2020
.npmignore package.json updated - candidate 0.1.0 Jan 1, 2020
CONTRIBUTING.md Update CONTRIBUTING.md Jan 9, 2020
README.md
package-lock.json feat: doc script in package.json with jsdoc Jan 12, 2020
package.json patch version Jan 12, 2020
tsconfig.json

README.md

umlsjs (For UMLS REST APIs)

About

This is an unofficial package for accessing UMLS REST APIs. The technical documentation for the APIs is available here. You need an API-KEY to access UMLS services. You can apply for the license here. This is still in early alpha and is not production ready. Please star the GitHub repo to show your interest in this project or contact me.

Install

npm install umlsjs --save

Usage

  • Search
import { UMLSSearch } from 'umlsjs'
const search1 = new UMLSSearch(API_KEY)
search1.init('Erythema Multiforme')
await search1.query()
const results = search1.getResults()

Refer wiki for more instructions

More to come

  • UMLSContent
  • UMLSSubsets
  • UMLSSemanticNetwork
  • UMLSContentView
  • UMLSCrosswalk

Install the development version from GitHub as below

Add the following to .npmrc

registry=https://registry.npmjs.org/
@dermatologist:registry=https://npm.pkg.github.com

And

npm install @dermatologist/umlsjs --save

Want to join development?

  • Rename .env.example to .env and add your API key.
  • Submit PR to the develop branch.
You can’t perform that action at this time.