{"library":"emdb","type":"library","category":null,"description":"emdb is a JavaScript/TypeScript library designed for managing and querying databases of molecular formulas, primarily focused on exact mass calculations in cheminformatics. It is part of the larger 'mass-tools' monorepo maintained by cheminfo. The library is currently stable at version 7.56.0 (as of April 2026), demonstrating a rapid release cadence with multiple updates often shipped monthly, indicating very active development. Key functionalities include loading various predefined chemical databases (e.g., test, KnapSack, commercial, contaminants), creating custom molecular formula databases from structured arrays or Google Sheets, and providing robust utility modules for generating molecular formulas from peptide or nucleotide sequences. It enhances cheminformatics applications by offering precise mass calculations and comprehensive molecular formula manipulation, including detailed information such as exact mass, molecular weight, charge, OCL (Open Chemistry Libre), and mass spectrometry filter data.","language":"javascript","status":"active","version":"3.5.0","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install emdb","imports":["import emdb from 'emdb';","import emdb from 'emdb';\nconst mf = new emdb.Util.MF('C6H6');","import emdb from 'emdb';\nconst peptideMF = emdb.Util.Peptide.sequenceToMF('AAA');","import emdb from 'emdb';\nconst dnaMF = emdb.Util.Nucleotide.mfFromSequence('GATTACA', { kind: 'dna' });"]},{"cmd":"yarn add emdb","imports":[]},{"cmd":"pnpm add emdb","imports":[]}],"homepage":null,"github":"https://github.com/cheminfo/mass-tools","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/emdb","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/emdb/compatibility"}}