
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.
gliner-node-wrapper
Advanced tools
A secure and production-ready Node.js wrapper for the GlinER Named Entity Recognition (NER) Python library.
This package allows you to call GlinER from Node.js to extract entities using labels of your choice.
npm install gliner-node-wrapper
This package automatically installs Python dependencies (gliner, torch, transformers) during installation using a postinstall hook.
const { extractEntities } = require('gliner-node-wrapper');
const text = "Barack Obama served as president of the United States.";
const labels = ["person", "organization", "location"];
extractEntities(text, labels)
.then((entities) => console.log("Entities:", entities))
.catch((err) => console.error("Error:", err.message));
[
{ "text": "Barack Obama", "label": "person" },
{ "text": "United States", "label": "location" }
]
index.js) spawns a secure Python subprocess.gliner-node-wrapper/
├── index.js # Main Node wrapper
├── gliner_wrapper.py # Python subprocess handler
├── install-python.js # Auto-installs Python deps
├── requirements.txt # Python dependencies
├── example.js # Demo usage
├── package.json
└── README.md
spawn safely)Clone the repo:
git clone https://github.com/yourname/gliner-node-wrapper.git
cd gliner-node-wrapper
npm install
Run the test:
npm test
MIT © 2025 Your Name
FAQs
Node.js wrapper around Python-based GlinER NER library
The npm package gliner-node-wrapper receives a total of 0 weekly downloads. As such, gliner-node-wrapper popularity was classified as not popular.
We found that gliner-node-wrapper 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
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.