
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@anansi/cli
Advanced tools
Production ready, developer friendly. Opinionated yet extensible.
Anansi (/əˈnɑːnsi/ ə-NAHN-see) is an Akan folktale character. He often takes the shape of a spider and is considered to be the god of all knowledge of stories. Anansi uses his knowledge to help JavaScript developers spin new web projects.
Starting a new React project can be a lot of work. There are many tools that need to work together. The best tools available keep a tight technical focus with high levels of configurability. In practice this means it's a lot of work to get started and even more work to maintain, while keeping the tools cleanly working together.
Like Ubuntu did for Linux; Anansi focuses on bringing together many powerful tools in unison to build high performance web applications, quickly - while not losing the power and flexibility each individual tool provides.
Use nvm to install these if you don't already.
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash
Next install Anansi's CLI
npm install -g @anansi/cli
Then generate your new project:
anansi hatch my-app-name
This creates a my-app-name directory in your current directory and sets up the project there.
Creates a new Anansi project.
Usage: anansi hatch [options] <projectName>
Aliases: init
Arguments:
projectName Package name for the project
Options:
-d, --dir <directory> What directory to add to. (Creates new directory by default)
The interactive wizard will prompt you to choose:
anansi hatch my-app-name
Adds features to an existing project.
Usage: anansi add <features...>
Arguments:
features One or more of: testing | storybook | circle | github-actions
Features can be incrementally adopted by running sub-generators from an existing project directory.
cd my-app-name
anansi add testing
anansi add storybook circle
Available features:
testing - Jest testing setupstorybook - Storybook component documentationcircle - CircleCI configurationgithub-actions - GitHub Actions workflowRuns server for SSR (Server-Side Rendering) projects. Requires @anansi/core to be installed.
Usage: anansi serve [options] <entrypath>
Arguments:
entrypath Path to entrypoint
Options:
--pubPath <path> Where to serve assets from
-d, --dev Run devserver rather than using previously compiled output
-a, --serveAssets [non-dev] also serves client assets
-p, --serveProxy [non-dev] uses webpack proxy config
Development mode:
anansi serve --dev ./src/index.tsx
Production mode (using pre-compiled output):
anansi serve ./dist-server/App.js
Example package.json scripts:
{
"scripts": {
"start": "anansi serve --dev ./src/index.tsx",
"start:server": "anansi serve ./dist-server/App.js"
}
}
FAQs
Fast React Web Apps
The npm package @anansi/cli receives a total of 836 weekly downloads. As such, @anansi/cli popularity was classified as not popular.
We found that @anansi/cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.