# get-module-name

> just get module name

Latest version **0.0.1** (published 2018-05-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install get-module-name
pnpm add get-module-name
yarn add get-module-name
bun add get-module-name
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-05-28 |
| First published | 2018-05-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=4 |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | chinanf-boy |
| Maintainers | yobrave1995 |
| Keywords | pkg, name |

## Links

- npm: https://www.npmjs.com/package/get-module-name
- Repository: https://github.com/chinanf-boy/get-module-name
- Homepage: https://github.com/chinanf-boy/get-module-name#readme
- Issues: https://github.com/chinanf-boy/get-module-name/issues
- npm.io page: https://npm.io/package/get-module-name

## Dependencies (1)

- [pkg-conf](https://npm.io/package/pkg-conf.md) ^2.1.0

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.0.1 (latest) — 2018-05-28

## README

# get-module-name [![Build Status](https://travis-ci.org/chinanf-boy/get-module-name.svg?branch=master)](https://travis-ci.org/chinanf-boy/get-module-name)

> just get module name

[中文](./readme.md) | ~~[english](./readme.en.md)~~

## Install



```
npm install get-module-name
```

```
yarn add get-module-name
```




## Usage

```js
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](http://llever.com)

---
_Source: https://npm.io/package/get-module-name · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
