https://github.com/cheminfo/pubchem

https://github.com/cheminfo/pubchem

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: ncbi.nlm.nih.gov
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.9%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Basic Info
  • Host: GitHub
  • Owner: cheminfo
  • License: mit
  • Language: TypeScript
  • Default Branch: main
  • Homepage:
  • Size: 2.46 MB
Statistics
  • Stars: 9
  • Watchers: 4
  • Forks: 4
  • Open Issues: 2
  • Releases: 25
Created over 5 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.md

PubChem

NPM version build status Test coverage npm download

Simplify the retrieval of information from PubChem using the PubChem JSON API.

Installation

$ npm i pubchem

Usage

```js import { Compound } from 'pubchem';

async function doAll() { const compound = await Compound.fromSmiles('CCCCCBr', { cache });

console.log(compound.getCID());

const compoundData = await compound.getData();

const ghs = compoundData.ghs; console.log(ghs);

const detailedGHS = compoundData.getGHS(); console.log(detailedGHS);

const computed = compoundData.computed;

console.log(computed);

const experimentalData = compoundData.getExperimentalData({ pressure: { targetUnits: 'torr' }, temperature: { targetUnits: '°C' }, });

console.log(experimentalData); }

doAll(); ```

You can run a working example using:

node test/simple.js

CDN

Online demo

API Documentation

License

MIT

Owner

  • Name: Cheminfo
  • Login: cheminfo
  • Kind: organization

GitHub Events

Total
  • Release event: 1
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 3
  • Pull request event: 1
  • Create event: 2
Last Year
  • Release event: 1
  • Watch event: 1
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 3
  • Pull request event: 1
  • Create event: 2

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 18
  • Total pull requests: 42
  • Average time to close issues: 27 days
  • Average time to close pull requests: 4 days
  • Total issue authors: 4
  • Total pull request authors: 6
  • Average comments per issue: 1.22
  • Average comments per pull request: 1.36
  • Merged pull requests: 42
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 11 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 2.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kjappelbaum (10)
  • lpatiny (6)
  • mikemaster98 (1)
  • Klairm (1)
Pull Request Authors
  • cheminfo-bot (29)
  • kjappelbaum (12)
  • RicardoSilvestr (2)
  • wadjih-bencheikh18 (1)
  • targos (1)
  • lpatiny (1)
Top Labels
Issue Labels
Pull Request Labels
autorelease: tagged (26) autorelease: pending (3)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 1,315 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 1
  • Total versions: 25
  • Total maintainers: 1
npmjs.org: pubchem

pubchem simplifies the data retrieval from the PubChem API.

  • Versions: 25
  • Dependent Packages: 1
  • Dependent Repositories: 1
  • Downloads: 1,315 Last month
Rankings
Downloads: 6.6%
Forks count: 8.9%
Dependent repos count: 10.4%
Stargazers count: 10.9%
Average: 11.6%
Dependent packages count: 21.1%
Maintainers (1)
Last synced: 11 months ago

Dependencies

package.json npm
  • @types/jest ^26.0.23 development
  • cheminfo-build ^1.1.11 development
  • cross-env ^7.0.3 development
  • eslint ^7.30.0 development
  • eslint-config-cheminfo ^5.2.4 development
  • jest ^27.0.6 development
  • jest-matcher-deep-close-to ^2.0.1 development
  • md5 ^2.3.0 development
  • prettier ^2.3.2 development
  • rollup ^2.52.7 development
  • deepmerge ^4.2.2
  • js-quantities ^1.7.6
  • jsonpath ^1.1.1
  • ml-array-mean ^1.1.5
  • ml-array-median ^1.1.5
  • ml-array-standard-deviation ^1.1.6
  • node-fetch ^2.6.1
  • physical-parser ^0.3.0
.github/workflows/documentationjs.yml actions
  • JamesIves/github-pages-deploy-action releases/v3 composite
  • actions/checkout v2 composite
  • zakodium/documentationjs-action v1 composite
.github/workflows/lactame.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • zakodium/lactame-action v1 composite