Socket
Socket
Sign inDemoInstall

suffix

Package Overview
Dependencies
0
Maintainers
2
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    suffix

Add suffix to a filename.


Version published
Weekly downloads
309K
decreased by-0.65%
Maintainers
2
Install size
3.37 kB
Created
Weekly downloads
 

Readme

Source

suffix NPM version NPM downloads Build Status

Add suffix to a filename.

Install

$ npm install --save suffix

Usage

const suffix = require('suffix')

suffix('a.js', '.min')
//=> a.min.js

API

suffix(filename, [suffix])

filename

Type: string

suffix

Type: string

The suffix string to be added.

License

MIT © EGOIST

Keywords

FAQs

Last updated on 08 Mar 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc