Search npm for packages to use with Deno
Add them to your projects with a simple command that will already feel familar.
parse-filepath
Pollyfill for node.js `path.parse`, parses a filepath into an object.
ext-name
Get the file extension and MIME type from a file
contains-path
Return true if a file path contains the given path.
path-complete-extname
path.extname implementation adapted to also include multiple dots extensions.
change-file-extension
Change the file extension of a path
remark-lint-file-extension
remark-lint rule to warn when the file’s extension violates the given style
file-extension
Get the extension of a given filename or path
gulp-extname
gulp plugin to dynamically rewrite dest extensions based on src extensions.
rewrite-ext
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.
@ayonli/jsext
A JavaScript extension package for building strong and modern applications.
ext-map
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.
get-ext
Tiny path.extname method
file-suffix
A file suffix is a substring of basename after the first dot
metalsmith-paths
A metalsmith plugin that adds file path values to metadata
@stdlib/regexp-extname
Return a regular expression to capture a filename extension.
@stdlib/regexp-extname-posix
Return a regular expression to capture a POSIX filename extension.
extname
Get the file extension and MIME type from a file
@stdlib/utils-extname
Return a filename extension.
@stdlib/regexp-extname-windows
Return a regular expression to capture a Windows filename extension.
filename2prism
Converts source code filenames to PrismJS language aliases.