
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
@leaflink/front-end-utils
Advanced tools
A common utility library for usage across LeafLink's front-end applications.
npm i @leaflink/front-end-utils
Import the util(s) you need, and go.
import { obfuscateText } from '@leaflink/front-end-utils';
src
.Using a named export instead of a default export is recommended.
A named export ensures the function name is properly reflected in the generated docs. While using a default export will still work, we'll just see default()
displayed instead.
src/index.ts
(along with any types).export { obfuscateText, ObfuscateTextOptions } from './obfuscateText.js';
entryPoints
in typedoc.json
to include it in the side nav.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/front-end-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 front-end projects. If there's a utility you'd like to add that solves a common problem or captures a pattern other front-end projects would benefit from, it sounds like a great fit! If it's moreso tied to the specifics of a single app, it should likely remain downstream.
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 front-end utilities
The npm package @leaflink/front-end-utils receives a total of 1 weekly downloads. As such, @leaflink/front-end-utils popularity was classified as not popular.
We found that @leaflink/front-end-utils 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.