Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eol-converter-cli

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eol-converter-cli - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

10

package.json
{
"name": "eol-converter-cli",
"version": "0.0.2",
"version": "0.0.3",
"description": "Newline (EOL) coverter CLI for NodeJs (github repo soon) - Currently doing only CRLF -> LF convertion",
"main": "src/index.js",
"bin": {
"convertWarmup": "src/index.js warmup",
"convertToLF": "src/index.js",
"convertToCRLF": "src/index.js crlf"
"eolConverter": "src/index.js"
},
"scripts": {
"convertWarmup": "node src/index.js warmup",
"convertToLF": "node src/index.js",
"convertToCRLF": "node src/index.js crlf"
"eolConverter": "node src/index.js"
},

@@ -16,0 +12,0 @@ "keywords": [

@@ -11,3 +11,3 @@ # Newlines (EOL) converter cli for NodeJs

// To see which files will be affected
convertWarmup "**/*.js"
eolConverter warmup "**/*.js"

@@ -17,8 +17,8 @@ // Run conversions (cannot be undone)

// To LF
convertToLF "**/*.js"
eolConverter "**/*.js"
// To CRLF
convertToCRLF "**/*.{js,jsx,ts,tsx}"
eolConverter crlf "**/*.{js,jsx,ts,tsx}"
```
For files reges is used GLOB regex, see https://www.npmjs.com/package/glob
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