
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@modusjs/units
Advanced tools
Universal library for validating and converting Modus result data units.
This library works in the browser and in node.
yarn add @modusjs/units
# or
npm install @modusjs/units
For converting a batch of MODUS Nutrient Results
import { convertUnits } from '@modusjs/units';
If you just have something you want to convert
import { simpleConvert } from '@modusjs/units';
import { validateUnits } from '@modusjs/units';
import { convertUnits } from '@modusjs/units';
-molecularWeights: Conversion between milliequivalents and ppm use molecularWeights
automatically, but it is exported for your convenience.
This library is universal, so it runs tests both in-browser and in node. To simplify
browser testing, the src/test/
folder holds an HTML file that opens a browser on your machine,
imports the compiled test bundle, and then runs the tests listed there. Option for getting
an automated result from this in the future might be TestCafe...
To run just the browser tests: yarn test:browser
.
To run just the node tests: yarn test:node
.
To build: yarn build
.
To rollup dist/index.mjs
bundle for browser: yarn build:rollup
To compile/bundle everything live as you code: yarn dev
To run all tests live as you code (you should run yarn dev
at the same time): yarn test
.
FAQs
Universal library for interacting with Modus XML files
The npm package @modusjs/units receives a total of 0 weekly downloads. As such, @modusjs/units popularity was classified as not popular.
We found that @modusjs/units demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.