
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
document-metaprogrammer
Advanced tools
A small document meta-programming app in node.
Install:
npm i -g document-metaprogrammer
Run:
document-metaprogrammer
This will listen to .meta.* files below your working directory and continuously process them.
The basic idea is:
.meta.* file:example-0.meta.py
# < @number=[3,4,5]
def multiply_by_number(value):
return number * value
# >
Let the document-metaprogrammer run! This should continuously build the finished file in the background.
Expected output is:
example-0.py
def multiply_by_3(value):
return 3 * value
def multiply_by_4(value):
return 4 * value
def multiply_by_5(value):
return 5 * value
Another example:
example-1.meta.js
// < @value=[foo, bar, baz]
const say_value = () => {
console.log('value')
}
// >
module.exports = {
// < @value=[foo, bar, baz]
say_value,
// >
}
example-1.js
const say_foo = () => {
console.log('foo')
}
const say_bar = () => {
console.log('bar')
}
const say_baz = () => {
console.log('baz')
}
module.exports = {
say_foo,
say_bar,
say_baz,
}
See inside the examples folder for more details of whats possible!
FAQs
A small document meta-programming app in node
We found that document-metaprogrammer 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
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.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.