Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
<gem-book>
Docute gem implementation
# install dependencies
npm i gem-book
# build configuration, specify the document directory `docs`
# save the configuration file to the src directory, default filename `book.json`
npx gem-book -o src docs
configuration file example: book.json.
next use custom elements <gem-book>
// use `lit-html`
import 'gem-book';
import config from './book.json';
html`
<gem-book .config=${config}></gem-book>
`;
or
// use DOM API
import { Book } from 'gem-book';
import config from './book.json';
document.body.append(new Book(config));
or
<srcipt src=https://unpkg.com/gem-book></script>
const book = document.createElement('gem-book');
book.config = {...};
document.body.append(book);
<gem-book>
just add the priority number to the document folder name and file name, e.g:
src/examples/hello/docs/
├── 002-guide
│ ├── README.md
│ └── installation.md
├── 003-about.md
└── README.md
output:
├── <README.md h1>
├── Guide
│ ├── <README.md h1>
│ └── Installation
└── About
# install the cli locally
npm link
# development cli
npm run watch
# development `<gem-book>`
npm run example
FAQs
Create your document website easily and quickly
The npm package gem-book receives a total of 1 weekly downloads. As such, gem-book popularity was classified as not popular.
We found that gem-book 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.
Security News
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.