Socket
Socket
Sign inDemoInstall

browserify-ignore-code

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    browserify-ignore-code

Ignore parts of code in Browserify


Version published
Weekly downloads
0
Maintainers
1
Created
Weekly downloads
 

Readme

Source
Note

This project is based on https://github.com/janvanhelvoort/browserify-conditionalify

Installing

$ npm install browserify-ignore-code

Usage

var ignore = require('browserify-ignore-code');
browserify(
    transform: [[ignore]]
)

Example

// browserify-ignore-start
    console.log('This will not go into browserify.');
// browserify-ignore-end

License

MIT

(C) 2016 Karel Bilek

(C) 2016 Jan van Helvoort

Keywords

FAQs

Last updated on 22 Aug 2016

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc