
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.
@leaflink/utils
Advanced tools
A common utility library for usage across LeafLink's JavaScript applications.
npm i @leaflink/utils
Import the util(s) you need, and go.
import { obfuscateText } from '@leaflink/utils';
or
import obfuscateText from '@leaflink/utils/obfuscateText';
Add the utility to src
.
Export from src/index.ts
(along with any types).
export { obfuscateText, ObfuscateTextOptions } from './obfuscateText.js';
entryPoints
list in typedoc.json
.npm run docs
to start a local dev servernpm run docs:build
to build for productionnpm run docs:preview
to locally preview the production buildTo run tests, there's multiple npm scripts available to you:
npm run test
- Run all tests in watch mode.npm run test <file>
- Run matching spec file(s) quickly and watch for changes.Peer dependencies are specific dependencies that a package requires to work correctly, but expects the consumer of the package to provide. In other words, they are dependencies that the package relies on, but are not bundled with the package itself.
@leaflink/utils
does not yet require peer deps at this time. This may change if a util has to lean on a dependency like lodash-es
.
These peer dependencies will need to be installed separately by the consumer of the package, ensuring that the correct versions are used to maintain compatibility and avoid conflicts with other dependencies in the project.
This library provides functions that help other developers while also promoting consistency and modularity across TypeScript projects. If there's a utility you'd like to add that solves a common problem or captures a pattern other projects would benefit from, it sounds like a great fit! If it's moreso tied to the specifics of a single domain, it should likely remain downstream.
IMPORTANT: Please be mindful not to include any sensitive information that could be exposed through the public-facing Vitepress docs.
These docs are generated using typedoc
, converted to markdown with typedoc-plugin-markdown
, and then tailored for vitepress
via typedoc-vitepress-theme
.
typedoc.json
notes:
index.md
is currently sourced from README.md
entryPoints
defined indocsRoot
(typedoc-vitepress-theme
) matches out
to correctly link to the generated pages.Note: The options present in typedoc.json
are a combination of configurations for typedoc-plugin-markdown, typedoc-vitepress-theme, and core typedoc options.
FAQs
Common utilities across LeafLink JavaScript projects
The npm package @leaflink/utils receives a total of 0 weekly downloads. As such, @leaflink/utils popularity was classified as not popular.
We found that @leaflink/utils demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.