1.1.0 • Published 5 years ago

npm-initializer-template v1.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

npm-initializer-template

Will extract a package hosted on npmjs.com in the workingDirectory folder. Mainly created to use with npm generators (npm init template-name)

Installation

npm install --save npm-initializer-template

Usage

import { createProject } from 'npm-initializer-template';

await createProject({
  workingDirectory: './', // Directory where the project will be cloned
  npmPackage:{
    name: '@user/my-template', // NPM Package to clone
    version: '1.12.1', // Optional, default to latest
  },
});
1.1.0

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago