Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

create-whatever

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-whatever

create 'create-' app

  • 3.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

create-whatever

The smartest create- app template generator.

screencast

Why?

  • Built-in License chooser No need to care about license things.
  • Template engine Just put files with template strings and we will do the rest.
  • Highly customizable Can change caveat text, and add extra cli options.

Usage

  1. npx create-whatever create-greet --template typescript
  2. cd create-greet
  3. edit files inside templates/default
  4. yarn build or npm run build
  5. yarn publish or npm publish
  6. profit!

Template

Edit files inside templates/default. Text files will be passed through Mustache template engine that all template strings is replaced with respective value.

  • {{name}} package name
  • {{description}} package description
  • {{author}} author name
  • {{email}} author email
  • {{author_full}} author name formatted with {{name}} <{{email}}> if email given, otherwise {{name}}
  • {{license}} package license (e.g. MIT)
  • {{year}} current year (e.g. 2020)

Config

You can find the app config in src/cli.ts.

import {create} from 'create-whatever';

create('create-greet', templateRoot, {
  caveat: `Your app has been created successfuly!`,
});

templateRoot set to path.resolve(__dirname, '../templates'). You can change it to whereever you want.

caveat

string | undefined

This message will be shown after the generation process.

Contribution

PRs are always welcome!

Keywords

FAQs

Package last updated on 07 Oct 2019

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc