Search results

64 packages found

Pollyfill for node.js `path.parse`, parses a filepath into an object.

published version 1.0.2, 7 years ago201 dependents licensed under $MIT
27,551,501

Get the file extension and MIME type from a file

published version 5.0.0, 8 years ago80 dependents licensed under $MIT
15,891,402

Return true if a file path contains the given path.

published version 1.0.0, 8 years ago148 dependents licensed under $MIT
10,700,473

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

published version 1.0.0, 7 years ago39 dependents
1,825,092

Change the file extension of a path

published version 1.0.0, 10 months ago2 dependents licensed under $MIT
502,904

remark-lint rule to warn when the file’s extension violates the given style

published version 3.0.1, 5 months ago35 dependents licensed under $MIT
370,925

Get the extension of a given filename or path

published version 4.0.5, 7 years ago97 dependents licensed under $BSD-2-Clause
429,354

gulp plugin to dynamically rewrite dest extensions based on src extensions.

published version 0.2.2, 9 years ago22 dependents licensed under $MIT
19,122

Automatically re-write the destination extension of a filepath based on the source extension. e.g `.coffee` => `.js`. This will only rename the ext, no other path parts are modified.

published version 1.0.0, 8 years ago8 dependents licensed under $MIT
26,322

just an object that maps `src` file extensions to `dest` file extensions as key/value pairs (e.g. `{'.less': '.css'}`). Useful for dynamically rewriting paths in tasks/plugins. pull requests welcome.

published version 1.0.1, 10 years ago2 dependents licensed under $MIT
26,321

A JavaScript extension package for building strong and modern applications.

published version 1.7.3, a month ago8 dependents licensed under $MIT
18,437

Tiny path.extname method

published version 1.0.2, 9 years ago6 dependents licensed under $MIT
12,441

A file suffix is a substring of basename after the first dot

published version 1.0.1, 9 years ago1 dependents licensed under $MIT
1,694

Get the file extension and MIME type from a file

published version 0.1.5, 11 years ago0 dependents licensed under $MIT
751

Return a filename extension.

published version 0.2.2, a year ago1 dependents licensed under $Apache-2.0
794

Return a regular expression to capture a filename extension.

published version 0.2.2, 10 months ago1 dependents licensed under $Apache-2.0
814

Return a regular expression to capture a POSIX filename extension.

published version 0.2.1, a year ago1 dependents licensed under $Apache-2.0
856

Converts source code filenames to PrismJS language aliases.

published version 4.0.0, a year ago1 dependents licensed under $MIT
768

A metalsmith plugin that adds file path values to metadata

published version 4.0.6, 2 years ago13 dependents licensed under $MIT
844

Return a regular expression to capture a Windows filename extension.

published version 0.2.1, a year ago1 dependents licensed under $Apache-2.0
831