New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

grunt-bom2

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-bom2

Grunt task for rewrite file without UTF-8 BOM.

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

grunt-bom2

Grunt task for rewrite file without UTF-8 BOM

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-bom2

Then add this line to your project's Gruntfile.js gruntfile:

grunt.loadNpmTasks('grunt-bom2');

Documentation

Inside your Gruntfile.js file, add a section named bom2 with one or more targets. Each section contains a files object that specifies the files to rewrite without BOM.

Example #1

module.exports = function (grunt) {
  //...
  grunt.loadNpmTasks("grunt-dustjs");
  //...

  var config = {
    //...
    bom2: {},
    //...
  };

  config.bom2 = {
    main: {
      src: [
        "test.js"
      ]
    }
  };
});

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.

Release History

  • 17/10/2012 - 0.1.0: Initial release.

License

Copyright (c) 2013 Stanislav Lesnikov Licensed under the MIT license.

Keywords

FAQs

Package last updated on 17 Oct 2013

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc