Socket
Book a DemoInstallSign in
Socket

appbones

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appbones

Build path/directory and templates/files from an yaml config file

0.2.14
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

Appbones Built with Grunt

MIT License NPM version NPM downloads Build Status Coverage Status

Build path/directory and templates/files with an yaml config file

Install

npm install appbones --save

Usage

  • app.js
AppBones = require('appbones');

// @param [source, destination]
var builder = new AppBones('../templates', '/abs/path/to/project/dir');
// @param [yml_file, (template_data)]
builder.build('../relative/path/to/bones/file.yml', {
    anobject: {
        content: 'for',
        replacing: 'lodash.template()'
    }
});
  • bones.yml
---

# files
root:
    - [toto.txt, .toto.yml]
    - html:
        - css:
        - js:
            - [_toto.txt, _.toto.yml]

Notes

appbones source and destination path are resolved with node path.resolve relative to current used module

History

v0.2.9 - Fix empty files

v0.2.8 - Fix undescore inside files name

v0.2.7 - Grammatically english updated

v0.2.6 - Fix sub files creation

v0.2.3 - Update package.json

v0.2.2 - Update documentation

v0.2.1 - Change fs-extra for mem-fs-editor

v0.1.7 - ...

Dependencies

Keywords

grunt

FAQs

Package last updated on 16 Jun 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.