New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@wide/scaffolder

Package Overview
Dependencies
Maintainers
4
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wide/scaffolder

Automatised project generator.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
4
Created
Source

Scaffolder

Automatised project generator.

Install

npm install @wide/scaffolder --save

Usage

Create a CLI script:

#!/usr/bin/env node
import scaffold from '@wide/scaffolder'
import pkg from './package.json'

scaffold(__dirname, {
    template: 'template',
    pkg
})

Then call your script:

node ./script.js my-app

When calling your script using CLI or NPX, it will:

  • create a folder named my-app
  • copy the template folder inside
  • replace project-name with my-app in package.json
  • replace project-name with my-app in readme.md
  • install all dependencies
  • start your project

Authors

  • Aymeric Assier - github.com/myeti
  • Julien Martins Da Costa - github.com/jdacosta

License

This project is licensed under the MIT License - see the licence file for details

FAQs

Package last updated on 21 Jun 2021

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