to-single-quotes

WebJar for to-single-quotes

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

to-single-quotes
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

to-single-quotes
WebJar for to-single-quotes
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/to-single-quotes

Download to-single-quotes

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/to-single-quotes/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>to-single-quotes</artifactId>
    <version>2.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/to-single-quotes/
implementation 'org.webjars.npm:to-single-quotes:2.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/to-single-quotes/
implementation ("org.webjars.npm:to-single-quotes:2.0.1")
'org.webjars.npm:to-single-quotes:jar:2.0.1'
<dependency org="org.webjars.npm" name="to-single-quotes" rev="2.0.1">
  <artifact name="to-single-quotes" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='to-single-quotes', version='2.0.1')
)
libraryDependencies += "org.webjars.npm" % "to-single-quotes" % "2.0.1"
[org.webjars.npm/to-single-quotes "2.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

to-single-quotes

Convert matching double-quotes to single-quotes: I "love" unicornsI 'love' unicorns

Install

$ npm install --save to-single-quotes

Usage

const toSingleQuotes = require('to-single-quotes');

toSingleQuotes('I love "unicorns" \'and\' "ponies"');
//=> "I love 'unicorns' 'and' 'ponies'"

Related

License

MIT © Sindre Sorhus

Versions

Version
2.0.1
2.0.0