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.
@greenwood/init
Advanced tools
Init package for scaffolding out a new Greenwood project. For more information and complete docs, please visit the Greenwood website.
Create a directory and then run the init
command to scaffold a minimal Greenwood project.
mkdir my-app && cd my-app
npx @greenwood/init
This will then output the following
├── greenwood.config.js
├── .gitignore
├── package.json
└── src/
└─ pages/
└─ index.md
To scaffold your new project based on one of Greenwood's starter templates, pass the --template
flag and then follow the prompts to complete the scaffolding.
# example
npx @greenwood/init --template
-------------------------------------------------------
Initialize Greenwood Template ♻️
-------------------------------------------------------
? Which template would you like to use? (Use arrow keys)
❯ blog
You can also pass the template you want from the CLI as well.
# example
npx @greenwood/init --template=blog
To automatically run npm install
after scaffolding, pass the --install
flag.
# example
npx @greenwood/init --install
To automatically run yarn install
after scaffolding, pass the --yarn
flag.
# example
npx @greenwood/init --yarn
Flags can be chained together!
# This will use Yarn, install dependencies, and scaffold from the blog template $ npx @greenwood/init --template --yarn --install
FAQs
A package for scaffolding a new Greenwood project.
We found that @greenwood/init 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.