Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    node-assets-embedpublic

    Embed HTML assets (js/css) in the document

    Getting Started

    Install the module with: npm install node-assets-embed

    var embed = require('node-assets-embed');
    embed.embedFile('path/to/file.html', function (err, html) {});

    Also exist in sync:

    var embed = require('node-assets-embed');
    embed.embedFileSync('path/to/file.html');

    Contributing

    In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

    License

    Copyright (c) 2013 Loïc Mahieu. Licensed under the MIT license.

    Keywords

    none

    install

    npm i node-assets-embed

    Downloadslast 7 days

    7

    version

    0.0.6

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar