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

eol-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eol-loader

webpack loader to replace all EOL chars with platform-appropriate version, and to add a EOL char at the end of files that lack one

1.0.2
latest
Source
npm
Version published
Weekly downloads
1
-97.14%
Maintainers
1
Weekly downloads
 
Created
Source

eol-loader

eol-loader, inspired by gulp-eol, is a webpack loader that serves two purposes:

  • Replaces all end of line characters with the appropriate EOL character for your platform, as determined by os.EOL.
  • Adds a newline to the end of files that lack one.

###Example:

In your webpack config:

{
    module: {
        loaders: [
            { loader: "eol-loader" }
        ]
    }
};

For more information on how to configure loaders, visit webpack's documentation.

Keywords

webpack

FAQs

Package last updated on 19 Feb 2016

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