Socket
Book a DemoInstallSign in
Socket

app-name

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

app-name

Create variable names from module names. Like `gulp-jshint` => `jshint`. Useful for yeoman generators, or for loaders for gulp, assemble, and grunt plugins.

latest
Source
npmnpm
Version
0.2.0
Version published
Weekly downloads
142
10.08%
Maintainers
1
Weekly downloads
 
Created
Source

app-name NPM version

Create variable names from module names. Like gulp-jshint => jshint. Useful for yeoman generators, or for loaders for gulp, assemble, and grunt plugins.

Install

Install with npm:

npm i app-name --save-dev

Run tests

npm test

Usage

var appname = require('app-name');

appname('gulp-jshint', 'gulp');
//=> jshint

appname('assemble-permalinks', 'assemble');
//=> permalinks

appname('handlebars-helper-foo', ['handlebars', 'helper']);
//=> foo

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license

This file was generated by verb-cli on October 12, 2014.

Keywords

app

FAQs

Package last updated on 12 Oct 2014

Did you know?

Socket

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