
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
A utility for conditionally joining classNames together. Handles various argument types: string, object, arrays, etc.
A utility for conditionally joining classNames together. Handles various argument types: string, object, arrays, etc.
You can install the package using npm, yarn, or pnpm.
pnpm add classter
yarn install classter
npm install classter
import cls from "classter";
cls("foo", "bar"); // => 'foo bar'
cls("foo", { bar: true }); // => 'foo bar'
cls({ "foo-bar": true }); // => 'foo-bar'
cls({ "foo-bar": false }); // => ''
cls({ foo: true }, { bar: true }); // => 'foo bar'
cls({ foo: true, bar: true }); // => 'foo bar'
// lots of arguments of various types
cls("foo", { bar: true, duck: false }, "baz", { quux: true }); // => 'foo bar baz quux'
// other falsy values are just ignored
cls(null, false, "bar", undefined, 0, 1, { baz: null }, ""); // => 'bar 1'
Bundle your TypeScript library with no config, powered by esbuild.
# pnpm
$ pnpm install
# yarn
$ yarn install
# npm
$ npm install
src
src/index.ts
src
.
Once the command works properly, you will see dist
folder.# pnpm
$ pnpm run build
# yarn
$ yarn run build
# npm
$ npm run build
$ npm publish
FAQs
A utility for conditionally joining classNames together. Handles various argument types: string, object, arrays, etc.
The npm package classter receives a total of 0 weekly downloads. As such, classter popularity was classified as not popular.
We found that classter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.