Socket
Socket
Sign inDemoInstall

ext-name

Package Overview
Dependencies
57
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.2.0 to 3.0.0

6

cli.js

@@ -10,6 +10,6 @@ #!/usr/bin/env node

'Usage',
' $ extname <file>',
' $ ext-name <file>',
'',
'Example',
' $ extname file.tar.gz'
' $ ext-name file.tar.gz'
].join('\n')

@@ -23,3 +23,3 @@ });

'Example',
' $ extname file.tar.gz'
' $ ext-name file.tar.gz'
].join('\n'));

@@ -26,0 +26,0 @@

{
"name": "ext-name",
"version": "2.2.0",
"version": "3.0.0",
"description": "Get the file extension and MIME type from a file",

@@ -16,3 +16,3 @@ "license": "MIT",

"bin": {
"extname": "cli.js"
"ext-name": "cli.js"
},

@@ -19,0 +19,0 @@ "scripts": {

@@ -30,9 +30,9 @@ # ext-name [![Build Status](http://img.shields.io/travis/kevva/ext-name.svg?style=flat)](https://travis-ci.org/kevva/ext-name)

```
$ extname --help
$ ext-name --help
Usage
$ extname <file>
$ ext-name <file>
Example
$ extname file.tar.gz
$ ext-name file.tar.gz
```

@@ -39,0 +39,0 @@

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