Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Database manager for molecular formula with various query feature.
npm install --save emdb
There are 2 parts:
const emdb = require('emdb');
emdb.loadTest(); // add a database named test containing all the molecular formula from C1 to C100
A method that allows to create a database named 'test' and that contains all the molecular formula from C1 to C100
A method that creates a database (by default named generated
) that contains all the posible combination based on an array of strings.
emdb.fromArray( ['C1-10','N1-10']);
This method use the project 'mf-generator'
The following fields in the json are expected to be returned
Example:
var mf = new EMDB.Util.MF('Et3N');
Generates a molecular formula from a peptidic sequence.
Example:
const Peptide = require('emdb').Util.Peptide;
let mf = Peptide.mfFromSequence('AAA');
// mf = HAlaAlaAlaOH
Generates a molecular formula from a nucleotide sequence. Will correctly deal with
dna
, rna
and ds-dna
.
By default if the sequence contains a 'U' it is rna
otherwise it is ds-dna
. You
can force the type by using the option kind
. A nucleotide sequence may also be
either circular or non circular (default value).
Example:
const Nucleotide = require('emdb').Util.Nucleotide;
let mf = Nucleotide.mfFromSequence('AAA', {circular: false, kind: 'dna'});
// mf = HODampDampDampH
FAQs
Database manager for exact mass query
The npm package emdb receives a total of 114 weekly downloads. As such, emdb popularity was classified as not popular.
We found that emdb demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.