
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
helper-slugify
Advanced tools
Slugify a URL, path or heading id using the same format as GitHub heading anchors.
Slugify a URL, path or heading id using the same format as GitHub heading anchors.
var slugify = require('helper-slugify');
Lo-Dash usage
Usage with lodash:
var template = require('lodash.template');
var options = {imports: {slugify: require('helper-slugify')}};
var str = template('<%= slugify("foo bar baz") %>', options)();
console.log(str);
//=> 'foo-bar-baz'
Engine usage
Usage with engine:
var Engine = require('engine');
var engine = new Engine();
engine.helper('slugify', require('helper-slugify'));
engine.render('<%= slugify("foo bar baz") %>');
console.log(str);
//=> 'foo-bar-baz'
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Install dev dependencies:
$ npm install -d && npm test
Jon Schlinkert
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on July 19, 2016.
FAQs
Slugify a URL, path or heading id using the same format as GitHub heading anchors.
The npm package helper-slugify receives a total of 4,195 weekly downloads. As such, helper-slugify popularity was classified as popular.
We found that helper-slugify 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.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.