geenee-spell
TypeScript icon, indicating that this package has built-in type declarations

0.0.20 • Public • Published

geenee-spell

regenerates code in a project based upon a template and a settings file.

codecov Version Downloads/week License

A geenee code base contains a meta directory, which should have a template and a settings file called ns.yml. This package exposes a single async function that can regenerate the whole code base from scratch when your template and/or settings have changed.

You probably won't need to use this package directly. It gets included by geenee and copykat.

Usage

Install

npm i geenee-spell

Then you can generate code by specifying a package. The simplest usage is like this:

const generateCode = require('geenee-spell')

(async () => {
	await generateCode('~/packages/myPackage', {}, null)
})();

/geenee-spell/

    Package Sidebar

    Install

    npm i geenee-spell

    Weekly Downloads

    20

    Version

    0.0.20

    License

    MIT

    Unpacked Size

    19.2 kB

    Total Files

    22

    Last publish

    Collaborators

    • yisroel