JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q63964F
  • License MIT

Bud file renderer.

Package Exports

  • apeman-bud
  • apeman-bud/package.json
  • apeman-bud/signature.json

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (apeman-bud) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

apeman-bud

Build Status Code Climate Code Coverage npm Version JS Standard

Bud file renderer.

Installation

Install apeman-bud module via npm.

$ npm install apeman-bud -g

Usage

  1. Prepare an Apemanfile.js at your project root.
  2. Run the command via CLI.

Apemanfile.js

/** Example of Apemanfile.js */

'use strict'

module.exports = {
  $cwd: __dirname,
  $pkg: { /* ... */ },
  $proto: [ /* ... */ ],
  $tmpls: { /* ... */ },
  $tasks: { /* ... */ },
  $apps: { /* ... */ },
  $wtchs: { /* ... */ },
  $infra: { /* ... */ }
}

Then,

$ apeman-bud
CLI Options
$ apeman-bud -h

  Usage: apeman-bud [options] [name...] 

  Render bud files in the project.

  Options:

    -h, --help                           output usage information
    -V, --version                        output the version number
    -i, --ignore                         File patterns to ignore
    -f, --force                          Force to render template even if already exists
    -c, --configuration <configuration>  Pathname of Apemanfile

  Examples:

  $ apeman-bud                   # Render bud files in the current project.
  $ apeman-tmpl "ci/.*.bud"       # Render specific bud files.

Programmatic API

apeman-bud also provide programmatic API.

Firstly, install the module locally.

$ npm install apeman-bud --save-dev

Then,

'use strict'

const apemanBud = require('apeman-bud')

apemanBud({}, (err) => {
  /* ... */
})
Programmatic Options
Key Description Default
ignore File patterns to ignore
force Force to render template even if already exists
configuration Pathname of Apemanfile

License

This software is released under the MIT License.