@chemistry/cif-2-json
TypeScript icon, indicating that this package has built-in type declarations

0.0.18 • Public • Published

@chemistry/cif-2-json

npm version GitHub Build Status License: MIT

Library that Convert CIF file to JSON and support manipulations

Contains following tools:

  • cif to json
  • filter json (omit some fields)
  • find loop by type
  • normalize string
  • preform basic check
  • library of unit cells

How to Use

import { parse } from '@chemistry/cif-2-json';
const jcif = parse(cifContent);
console.log(JSON.strngify(jcif, null, 4));

Technical details:

  • Zero Dependency
  • Performance optimizations

Commands:

  • Build project: npm run build

Libraries used

Contacts

Package Sidebar

Install

npm i @chemistry/cif-2-json

Weekly Downloads

1

Version

0.0.18

License

none

Unpacked Size

45.5 MB

Total Files

43

Last publish

Collaborators

  • vreshch