@funish/scaffolding
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

@funish/scaffolding

npm version npm downloads npm license Contributor Covenant

Programmatically build scaffolding, powered by Funish.

Getting started

# npm
$ npm install @funish/scaffolding

# yarn
$ yarn add @funish/scaffolding

# pnpm
$ pnpm add @funish/scaffolding

Usage

  • You can see giget to fill in the source and options parameters.
  • target is the path to the directory where the scaffolding is generated.
  • The context is an object that can be used in the template, you can see handlebars for more information.
import { createScaffolding } from "@funish/scaffolding";

createScaffolding(
  source,
  target,
  {
    // context, e.g. { foo: "bar" }
  },
  options,
);

Interfaces

See it on JSDoc.

License

Readme

Keywords

Package Sidebar

Install

npm i @funish/scaffolding

Weekly Downloads

2

Version

0.0.4

License

MIT

Unpacked Size

14.4 kB

Total Files

14

Last publish

Collaborators

  • demomacro