trim-right

WebJar for trim-right

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

trim-right
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

trim-right
WebJar for trim-right
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/sindresorhus/trim-right

Download trim-right

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/trim-right/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>trim-right</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/trim-right/
implementation 'org.webjars.npm:trim-right:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.npm/trim-right/
implementation ("org.webjars.npm:trim-right:1.0.1")
'org.webjars.npm:trim-right:jar:1.0.1'
<dependency org="org.webjars.npm" name="trim-right" rev="1.0.1">
  <artifact name="trim-right" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='trim-right', version='1.0.1')
)
libraryDependencies += "org.webjars.npm" % "trim-right" % "1.0.1"
[org.webjars.npm/trim-right "1.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.

trim-right Build Status

Similar to String#trim() but removes only whitespace on the right

Install

$ npm install trim-right

Usage

const trimRight = require('trim-right');

trimRight('  unicorn  ');
//=> '  unicorn'

Related

  • trim-left - Similar to String#trim() but removes only whitespace on the left
  • trim-off-newlines - Similar to String#trim() but removes only newlines

Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.

Versions

Version
1.0.1
1.0.0