ew

enb-wrap

ENB plugin to wrap a file into arbitrary content

Showing:

Popularity

Downloads/wk

1

GitHub Stars

1

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

0

License

Type Definitions

Tree-Shakeable

No?

Categories

Readme

enb-wrap

ENB plugin to wrap a file into arbitrary content.

Installation

npm i enb-wrap --save

Usage

[require('enb-wrap/techs/wrap'), {
    source: '?.js',
    target: '?.wrapped.js',
    before: '/* before */',
    after: '/* after */',
    wrap: function(content, file) {
        return [
            '// The code was taken from ' + file,
            content
        ].join('\n');
    }
}]

License

© 2014 YANDEX LLC. The Source Code is subject to the terms of the Mozilla Public License 2.0.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100