cheminfo-types
Types for cheminfo packages and cheminfo data schema
Last updated a year ago by cheminfo-bot .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install cheminfo-types 
SYNC missed versions from official npm registry.

cheminfo-types

NPM version build status npm download

Types for cheminfo packages and cheminfo data schema.

Key principles:

  • One type should correspond to one React component
  • The schema should not be so complicated that it becomes unusable
  • Use @tjs-examples to give examples that will show in the JSON schema and documentation

Installation

$ npm i cheminfo-types

Usage

<summary>See example</summary>
import type { MeasurementXY } from 'cheminfo-types';

const measurements: MeasurementXY[] = [];
const xAxis = {
  label: 'time',
  units: 's',
  isDependent: false,
  data: [1, 2, 3],
};
const yAxis = {
  label: 'current',
  units: 'mA',
  isDependent: true,
  data: [0.1, 8, 13],
};
const firstMeasurement: MeasurementXY = {
  title: 'Current Monitoring',
  variables: { x: xAxis, y: yAxis },
};
measurements.push(firstMeasurement);

License

MIT

Current Tags

  • 1.8.1                                ...           latest (a year ago)

26 Versions

  • 1.8.1                                ...           a year ago
  • 1.8.0                                ...           2 years ago
  • 1.7.3                                ...           2 years ago
  • 1.7.2                                ...           3 years ago
  • 1.7.1                                ...           3 years ago
  • 1.7.0                                ...           3 years ago
  • 1.6.0                                ...           3 years ago
  • 1.5.0                                ...           3 years ago
  • 1.4.0                                ...           4 years ago
  • 1.3.0                                ...           4 years ago
  • 1.2.0                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.11.1                                ...           4 years ago
  • 0.11.0                                ...           4 years ago
  • 0.10.1                                ...           4 years ago
  • 0.10.0                                ...           4 years ago
  • 0.9.1                                ...           4 years ago
  • 0.9.0                                ...           4 years ago
  • 0.8.0                                ...           4 years ago
  • 0.7.0                                ...           4 years ago
  • 0.6.0                                ...           5 years ago
  • 0.5.0                                ...           5 years ago
  • 0.4.0                                ...           5 years ago
  • 0.3.1                                ...           5 years ago
  • 0.1.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 6
Last Month 5
Dependencies (0)
None
Dev Dependencies (8)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |