Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 13.59.91.46
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
node_modules /
replace-ext /
Delete
Unzip
Name
Size
Permission
Date
Action
LICENSE
1.14
KB
-rw-rw-r--
2022-08-30 11:49
README.md
2.42
KB
-rw-rw-r--
2022-08-30 11:49
index.js
767
B
-rw-rw-r--
2022-08-30 11:49
package.json
1.08
KB
-rw-rw-r--
2022-08-30 11:49
Save
Rename
<p align="center"> <a href="http://gulpjs.com"> <img height="257" width="114" src="https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png"> </a> </p> # replace-ext [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Azure Pipelines Build Status][azure-pipelines-image]][azure-pipelines-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url] Replaces a file extension with another one. ## Usage ```js var replaceExt = require('replace-ext'); var path = '/some/dir/file.js'; var newPath = replaceExt(path, '.coffee'); console.log(newPath); // /some/dir/file.coffee ``` ## API ### `replaceExt(path, extension)` Replaces the extension from `path` with `extension` and returns the updated path string. Does not replace the extension if `path` is not a string or is empty. ## replace-ext for enterprise Available as part of the Tidelift Subscription The maintainers of replace-ext and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-replace-ext?utm_source=npm-replace-ext&utm_medium=referral&utm_campaign=enterprise&utm_term=repo) ## License MIT [downloads-image]: http://img.shields.io/npm/dm/replace-ext.svg [npm-url]: https://www.npmjs.com/package/replace-ext [npm-image]: http://img.shields.io/npm/v/replace-ext.svg [azure-pipelines-url]: https://dev.azure.com/gulpjs/replace-ext/_build/latest?branchName=master [azure-pipelines-image]: https://dev.azure.com/gulpjs/replace-ext/_apis/build/status/replace-ext?branchName=master [travis-url]: https://travis-ci.org/gulpjs/replace-ext [travis-image]: http://img.shields.io/travis/gulpjs/replace-ext.svg?label=travis-ci [appveyor-url]: https://ci.appveyor.com/project/gulpjs/replace-ext [appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/replace-ext.svg?label=appveyor [coveralls-url]: https://coveralls.io/r/gulpjs/replace-ext [coveralls-image]: http://img.shields.io/coveralls/gulpjs/replace-ext/master.svg [gitter-url]: https://gitter.im/gulpjs/gulp [gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg