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.
@lunariajs/core
Advanced tools
@lunariajs/core
The @lunariajs/core
package contains the base tracking and dashboard generation systems used across the toolchain.
Read the official Lunaria documentation to learn more about it.
You can install @lunariajs/core
using your preferred package manager:
# npm
npm install @lunariajs/core
# pnpm
pnpm add @lunariajs/core
# yarn
yarn add @lunariajs/core
Start using @lunariajs/core
by setting up your own lunaria.config.json
file and adding a script to your package.json
file.
The example below contains all of the required options to generate a dashboard tracking the status of both the Portuguese and Spanish translations of a site:
// lunaria.config.json
{
"$schema": "./node_modules/@lunariajs/core/config.schema.json",
"repository": {
"name": "me/cool-docs"
},
"files": [
{
"location": "content/**/*.md",
"pattern": "content/@lang/@path"
}
],
"defaultLocale": {
"label": "English",
"lang": "en"
},
"locales": [
{
"label": "Português",
"lang": "pt"
},
{
"label": "Spanish",
"lang": "es"
}
]
}
Now, you need to add a new script to your package.json
file to trigger a dashboard build during your website's deploy process, like so:
"scripts": {
"docs:dev": "vitepress dev .",
"docs:build": "vitepress build .",
"docs:preview": "vitepress preview .",
+ "lunaria:build": "lunaria build"
},
Want other usage examples? Head over to the examples/
directory and inspect the source code for tips & tricks about using @lunariajs/core
with other frameworks and environments.
FAQs
Localization management system for open-source projects
The npm package @lunariajs/core receives a total of 271 weekly downloads. As such, @lunariajs/core popularity was classified as not popular.
We found that @lunariajs/core 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.