
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
emcellent-parse
Advanced tools
A most excellent M/MUMPS parsing library; eMcellent-parse takes input M/MUMPS code and transforms it into JSON-based representations of the code. This can be used in translation and/or markup to make the source code more readily interpretable.
The code is built to be run in either Node.js or the browser; it uses native Javascript parsing and has no intrinsic dependencies outside of those used during builds.
To use in Node.js, the package is available via npm. To use locally, you will only need to install dependencies using npm install. To test, the default grunt task will execute all test cases.
To use in the browser, install dependencies with npm install, and run grunt build:browser. Browserify will convert the package into a Commonjs format, minify it, and output it to /dist/emcellent.min.js.
The library has two entry functions; note that both functions are synchronous.
parseLine(inputString)
Parses a single line of M/MUMPS code into the JSON representation.
inputString - A Line of M/MUMPS code.
parseRoutine(inputString)
Parses a routine of M/MUMPS code, returning an array of JSON representations marked up with line numbers.
inputString - An entire routine of M/MUMPS code, with lines separated by line feeds.
Parsed lines will be returned in the below format; parseRoutine returns an array of these objects.
{
lineLabel: String,
lineNumber: Number,
lineComment: String,
lineIndentation: Number,
lineRoutines: [{
mRoutine: String,
mArguments: String,
mPostConditional: String,
}]
}
Pull requests are welcome, just be sure to include test cases.
FAQs
A most excellent M/MUMPS parsing library.
The npm package emcellent-parse receives a total of 6 weekly downloads. As such, emcellent-parse popularity was classified as not popular.
We found that emcellent-parse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.