strip-outer

WebJar for strip-outer

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

strip-outer
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

strip-outer
WebJar for strip-outer
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/strip-outer

Download strip-outer

How to add to project

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

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : escape-string-regexp jar [1.0.2,2)

Project Modules

There are no modules declared in this project.

strip-outer Build Status

Strip a substring from the start/end of a string

Install

$ npm install strip-outer

Usage

const stripOuter = require('strip-outer');

stripOuter('foobarfoo', 'foo');
//=> 'bar'

stripOuter('unicorncake', 'unicorn');
//=> 'cake'

License

MIT © Sindre Sorhus

Versions

Version
1.0.1
1.0.0