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

clony-pasta

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clony-pasta

Foolishly simple scaffolding tool using the ez template language.

  • 2.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

clony-pasta

npm-version dependencies dev-dependencies

Foolishly simple scaffolding tool using the ez template language.

Installation

npm install clony-pasta -g

Usage

clony-pasta [git repository] [destination folder]

Example Usage

Set up a git repository with a scaffold. For example, your package.json might look something like this:

{
  "name": "{% scoped? %}@{% scope %}/{% end %}{% name %}",
  "version": "0.0.0",
  "description": "{% description %}",
  "author": "{% author %}",
  "license": "MIT",
  ...
}

Conditional files and directories are also supported. For example, if you only sometimes want to generate tests, you could name your test directory {% makeTests? %}tests{% end %} and it will only include the directory (and sub-directories) if you respond "yes" to the makeTests? prompt.

Then, when you want to generate a new project based on the scaffold, invoke the command:

clony-pasta git@github.com:scott113341/scaffold-npm-module.git my-new-project

Keywords

FAQs

Package last updated on 25 Jun 2017

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