path-complete-extname

WebJar for path-complete-extname

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

path-complete-extname
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

path-complete-extname
WebJar for path-complete-extname
Project URL

Project URL

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

Source Code Management

https://github.com/ruyadorno/path-complete-extname

Download path-complete-extname

How to add to project

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

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.

path-complete-extname

Build Status

path.extname implementation adapted to also include multiple dots extensions.

About

This module contains the native implementation of Node.js path.extname method adapted to get complete extension names.

Example

  var path = require('path');
  var pathCompleteExtname = require('path-complete-extname');

  var filename = 'myfile.tar.gz';

  path.extname(filename); // .gz
  pathCompleteExtname(filename); // .tar.gz

For more information about what filenames are valid and what will be returned in each case, see the test.js file.

License

Released under the MIT License.

Versions

Version
1.0.0