
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.
ocr_14_library
Advanced tools
This repository contains the code for a library of react components. The components are published in TypeScript
the front-end developer: Lucie
Install this package:
npm i ocr_14_library
Import the Counter component:
import { Modal } from "ocr_14_library";
You can then render the Modal
component like any other React component in JSX.
It's an easy way to add a modal box to your project To use this component you need to create a boolean state
import { Modal } from "ocr_14_library"
import { useState } from "react";
export default function Component() {
const [openModal, setOpenModal] = useState(false);
return(
<button onClick={() => setOpenModal(true)}/>
<Modal
open={openModal}
onClose={() => setOpenModal(false)}
HtmlElement={document.getElementById("portal")}
> My modal text </Modal>
)
}
This components needs four params :
Fork this repository to GitHub
Add your TypeScript components in src/ folder
Export your component in src/index.ts file :
export { MyNewComponent } from "./MyNewComponent";
Modify the information in package.json
Run build scripts :
npm run build
And publish dist folder on npm :
npm publish ./dist
FAQs
A component library
The npm package ocr_14_library receives a total of 0 weekly downloads. As such, ocr_14_library popularity was classified as not popular.
We found that ocr_14_library 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.