
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.
@fizzog/stringbox
Advanced tools
A collection of String manipulation utilities.
npm i @fizzog/stringbox
or
yarn add @fizzog/stringbox
import { abbreviate } from '@fizzog/stringbox';
const source = 'The quick brown fox jumps over the lazy dog';
const result = abbreviate(source);
console.log(result);
> The quick ...
note: stringbox makes use of ES6 and will require a JS compiler like Babel. If you're using ReactJS and create-react-app, this is already build in.
abbreviate(source, size?)
returns new abbreviated String no wider than 10 characters or size?. Appended with ellipses.isFat(source)
returns true for Strings with length beyond whitespace.isString(source)
returns true for objects or primitives that are Strings.toNumber(source)
returns base 10 version of numeric Strings. Otherwise, 0.orDefault(source, replacement?)
returns source when isFat, otherwise replacement.uuid()
returns a version 4, universally unique identifier with a format of 8-4-4-4-12. Producing cryptographically strong random values.FAQs
String manipulation utilities
The npm package @fizzog/stringbox receives a total of 0 weekly downloads. As such, @fizzog/stringbox popularity was classified as not popular.
We found that @fizzog/stringbox 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.
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.