Socket
Socket
Sign inDemoInstall

get-module-name

Package Overview
Dependencies
15
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    get-module-name

just get module name


Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Install size
100 kB
Created
Weekly downloads
 

Readme

Source

get-module-name Build Status

just get module name

中文 | english

Install

npm install get-module-name
yarn add get-module-name

Usage

const getname = require('get-module-name');
// process.cwd() package.json name

await getname() // Promise
getname.sync() // sync

API

getname

name:getname
Type:function:Promise
Desc:return package.json name
sync
name:sync
Type:function
Desc:return package.json name

License

MIT © chinanf-boy

Keywords

FAQs

Last updated on 28 May 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