Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
aiur is a tool to generate style guides with a focus on pattern libraries.
Install aiur in your project:
npm i --save aiur
You then need to write documentation using Markdown:
title: Strong
description: Pretty strong component
This is how we **strong** around here.
```html
Very <strong>strong</strong>
```
This is a regular Markdown file, with two special features:
In addition, you need to provide a aiur.config.js
:
exports.pages = {
"": "./components/welcome.md",
atoms: {
file: "./components/atoms.md",
children: {
button: "./components/button/doc.md",
strong: "./components/strong/doc.md"
}
}
};
exports.title = "Example Pattern Library";
exports.language = "en";
exports.description = "A very good pattern library"
Here you provide the page structure, a title, language and description.
Now you can generate your page by running:
npx aiur
The page will be generated and put into ./dist
. Done. You can see additional
options (like file watching) by running npx aiur -h
.
aiur is licensed under Apache 2.0 License.
FAQs
styleguide generator
We found that aiur 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
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.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.