
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
Primitive XML generator for node.js
const { doc, elem } = require(gexode);
const car = doc(elem('car', {wheels: 4}).text('Volvo'));
car.toString();
renders as:
<?xml version='1.0' encoding='UTF-8'?>
<car wheels='4'>Volvo</car>
gexode can also be used as a generator
import { generator } from 'gexode';
const { header, start, el, end } = generator({ pretty: true });
function* cars() {
yield* header();
yield* start('cars');
yield* el('car', { wheels: 4 }, 'Volvo');
yield* end();
}
Array.from(cars()).join('');
renders as:
<?xml version='1.0' encoding='UTF-8'?>
<cars>
<car wheels='4'>Volvo</car>
</cars>
generator(options)
options - { pretty, selfClosing }
if pretty is truthy intendations are generate
if selfClosing is truthy empty tags are self closeing <likeThis/>
header - generate XML header
el(name, attribute, text)- generate a node with attributes (optional) and text (optional), close the node automatically
start(name, attribute)- like el but do not close the node
end - close recently opened node
MIT
FAQs
Primitive XML generator for node.js
The npm package gexode receives a total of 16 weekly downloads. As such, gexode popularity was classified as not popular.
We found that gexode demonstrated a healthy version release cadence and project activity because the last version was released less than 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.