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

to-single-quotes

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

to-single-quotes - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

cli.js

8

package.json
{
"name": "to-single-quotes",
"version": "0.1.0",
"version": "0.2.0",
"description": "Convert matching double-quotes to single-quotes: I \"love\" unicorns => I 'love' unicorns",

@@ -8,2 +8,5 @@ "license": "MIT",

"main": "to-single-quotes.js",
"bin": {
"to-single-quotes": "cli.js"
},
"author": {

@@ -21,3 +24,4 @@ "name": "Sindre Sorhus",

"files": [
"to-single-quotes.js"
"to-single-quotes.js",
"cli.js"
],

@@ -24,0 +28,0 @@ "keywords": [

@@ -18,2 +18,22 @@ # to-single-quotes [![Build Status](https://travis-ci.org/sindresorhus/to-single-quotes.png?branch=master)](http://travis-ci.org/sindresorhus/to-single-quotes)

Or globally if you want to use it as a CLI app:
```
npm install --global to-single-quotes
```
You can then use it in your terminal like:
```
to-single-quotes src/*.txt
```
*(make sure to have a backup before running this!)*
Or pipe something to it:
```
cat input.txt | to-single-quotes > output.txt
```
#### [Bower](http://bower.io)

@@ -53,2 +73,6 @@

Or using the command line
```
to-single-quotes path/to/*.js
```

@@ -55,0 +79,0 @@ ## License

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