@funish/scaffolding
v0.0.4
Published
Programmatically build scaffolding, powered by Funish.
Downloads
35
Readme
@funish/scaffolding
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
andoptions
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.