JSPM

prepend

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

Add data to the beginning of file

Package Exports

  • prepend

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 (prepend) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Prepend

Add data to the beginning of file

Install

npm i prepend --save

How to use?

var prepend = require('prepend');

prepend('README.md', 'some data for beginning', function(error) {
    if (error)
        console.error(error.message);
});

License

MIT