npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

dev-magic

v2.0.0

Published

dev-magic is an arcane CLI spell that conjures the bones of your application—frontend and backend—ready to harness the powers of React and Node.js. With a single incantation, it weaves together optimal, scalable structures imbued with legendary features:

Downloads

4

Readme

Dev Magic: Summon the Spell of Creation

dev-magic is an arcane CLI spell that conjures the bones of your application—frontend and backend—ready to harness the powers of React and Node.js. With a single incantation, it weaves together optimal, scalable structures imbued with legendary features: Redux, Axios, Tailwind, Socket.IO, Redis, Kafka, Prisma, Swagger, and GraphQL. Perfect for developers seeking an enchanted kickstart.

Enchanted Powers

  • Frontend Creation Magic (React): Summons a basic React application from the void.
  • Backend Creation Magic (Node.js): Calls forth a Node.js backend with Express.
  • Feature Conjurations:
    • Redux for spellbinding state control.
    • Axios for mystical HTTP requests.
    • TailwindCSS for woven styling.
    • Socket.IO for real-time communication.
    • Redis for caching and enchanted messaging.
    • Kafka for seamless event streaming.
    • Prisma for database ORM magic.
    • Swagger for clarity in API documentation.
    • GraphQL for powerful API architecture.

Summoning the Magic

To install the spellbook globally:

npm install -g dev-magic

OR wield it directly with npx:

npm create dev-magic

Now, the magic command awaits your conjuration for new creations or added spells.

Incantations & Invocations

To Forge a New Frontend (React)

Invoke the spell to conjure a new React frontend:

dev-magic frontend

To Forge a New Backend (Node.js)

With this invocation, summon a backend in Node.js:

dev-magic backend

Add Features to Your Spellbook

Enhance your project with potent spells by simply invoking:

dev-magic add <spell>

For example:

  • Summon Redux for state sorcery:

    dev-magic add redux
  • Summon Axios for enchanted HTTP requests:

    dev-magic add axios
  • Enchant with TailwindCSS for visual flourish:

    dev-magic add tailwind
  • Summon Socket.IO for real-time communication magic:

    dev-magic add socket-server
  • Summon Redis for persistent caching:

    dev-magic add redis-server
  • Summon Kafka for message streams:

    dev-magic add kafka-server
  • Summon Prisma for powerful ORM:

    dev-magic add prisma
  • Summon Swagger for clarity in API incantations:

    dev-magic add swagger-api-doc
  • Summon GraphQL for API mastery:

    dev-magic add graphql-server

Command Grimoire

  • dev-magic frontend: Summons a new React (frontend) application.
  • dev-magic backend: Conjures a new Node.js (backend) application.
  • dev-magic add <spell>: Adds enchanted features to your project.

Enchanted List of Features

| Spell | Effect | | ----------------- | ------------------------------- | | redux | Adds Redux for state magic | | axios | Adds Axios for HTTP requests | | tailwind | Adds TailwindCSS for styling | | socket-server | Adds Socket.IO for live spells | | redis-server | Adds Redis for caching/data | | kafka-server | Adds Kafka for message flows | | prisma | Adds Prisma ORM for databases | | swagger-api-doc | Adds Swagger for API clarity | | graphql-server | Adds GraphQL for API wizardry |

Seek Guidance

Use --help to uncover the mysteries of available commands:

dev-magic --help

Contribution to the Spellbook

Your magical contributions are welcomed! To contribute, open a portal with a pull request or issue on our GitHub repository.

License

This spellbook is open for all under the MIT License - see the LICENSE file for details.