bergquist / grunt-byte-order-mark

grunt task to strip or add BOM to files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

grunt-byte-order-mark

Build Status NPM version

Grunt task to strip or add BOM to files

npm install grunt-byte-order-mark --save-dev
grunt.loadNpmTasks('grunt-byte-order-mark');
bom: {
  addBom: {
    src: 'file-wihtout-bom.txt',
    options: {
      add: true
    }
  },
  removeBom: {
    src: 'file-wiht-bom.txt',
    options: {
      remove: true
    }
  }
}

Lets go dancing!

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.

About

grunt task to strip or add BOM to files

License:MIT License


Languages

Language:JavaScript 100.0%