JSPM

Found 64 results for extname

regex-extname

Regular expression to capture a filename extension.

  • v1.0.0
  • 30.73
  • Published

metalsmith-paths

A metalsmith plugin that adds file path values to metadata

  • v4.0.6
  • 29.87
  • Published

ext-to-regexp

Convert extname into regexp

  • v0.1.0
  • 29.65
  • Published

ext-to-regex

Create a regex for matching file extensions.

  • v0.1.0
  • 27.65
  • Published

rte

Simple filepath re-writing for node.js projects. Useful for re-writing paths in grunt/gulp/assemble tasks or plugins.

  • v2.0.1
  • 24.83
  • Published

gulp-pathmap

Rename files with pathmap. Think of it like `sprintf` for paths.

  • v0.1.0
  • 20.44
  • Published

pathinfo

Returns consolidated info about a filesystem path without having to call multiple path.* methods.

  • v0.1.0
  • 19.50
  • Published

extra-path

Useful additions to inbuilt path module.

  • v1.2.1
  • 19.37
  • Published

extra-path.web

Useful additions to inbuilt path module {web}.

  • v1.2.1
  • 18.37
  • Published

ext-ext

Extension of the node.js path.extname method.

  • v0.1.2
  • 17.93
  • Published

mime-xdg

mimetypes, mimeheads and mimenotes from xdg/shared-mime-info

  • v1.2.5
  • 15.80
  • Published

ext-regex

Regular expression for matching file extensions. Matches single and/or multiple file extensions, like `.min.js`.

  • v1.0.0
  • 15.06
  • Published

easy-renamer

Easily rename files using custom rename functions that are automatically used against any filepaths that match the associated regex or glob patterns.

  • v0.3.1
  • 13.10
  • Published

rename-path

Return a mapped dest for a src a filepath.

  • v0.2.0
  • 13.06
  • Published

@fav/path.extname

Provides same behaviors of `path.extname` module for all versions fo node.js

  • v0.9.0
  • 12.81
  • Published

ekst

Append, prepend, replace or remove basename extensions

  • v2.0.0
  • 11.02
  • Published

namespace-data

Read data files and extend the data from each onto an object or objects named using the given string or [propstring].

  • v0.1.0
  • 9.21
  • Published

ext-name-cli

Get the file extension and MIME type from a file

  • v1.1.0
  • 8.99
  • Published

regex-filename

Regular expression to split a filename.

  • v1.0.0
  • 8.96
  • Published

files-by-ext

Give it a list of files, receive an object keyed by file extension

  • v1.0.0
  • 7.11
  • Published

match-extension

Return `true` if a file extension matches the given string, array of strings, or RegExp pattern.

  • v0.2.1
  • 7.11
  • Published

path-info-stats

NPM package for reading information about absolute paths, which can also be imported/exported via JSON. Both sync and async classes are provided.

  • v1.0.5
  • 7.10
  • Published

mimext

mime type to extension and the reverse map

  • v0.1.8
  • 6.77
  • Published

drop-extnames

Drops all extnames from file path.

  • v1.0.3
  • 4.48
  • Published

rmext

✂️ Remove file extension

  • v0.0.1
  • 4.27
  • Published

is-extname

Check file extension name

  • v0.0.1
  • 2.78
  • Published

file-language

Get the language name of a given filename or path

  • v0.0.3
  • 2.66
  • Published

file-stem

Basename without extension

  • v1.0.2
  • 2.50
  • Published

exty

A curried library to check the extension of a file

    • v1.0.1
    • 0.00
    • Published

    ext2lang

    Conversion tool between extname and language type

    • v1.0.3
    • 0.00
    • Published

    @jo-sword/file-ext

    Receives the extension or mimeType of a filename or path.

    • v1.0.2
    • 0.00
    • Published