Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/makotot/get-assemble-partial-name
Get the assemble partial name
https://github.com/makotot/get-assemble-partial-name
Last synced: 28 days ago
JSON representation
Get the assemble partial name
- Host: GitHub
- URL: https://github.com/makotot/get-assemble-partial-name
- Owner: makotot
- Created: 2015-09-17T06:22:03.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-28T00:35:58.000Z (about 9 years ago)
- Last Synced: 2024-10-10T19:01:40.338Z (about 1 month ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/get-assemble-partial-name
- Size: 141 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# get-assemble-partial-name
[![npm version](http://img.shields.io/npm/v/get-assemble-partial-name.svg?style=flat-square)](https://github.com/makotot/get-assemble-partial-name)
[![travis](http://img.shields.io/travis/makotot/get-assemble-partial-name.svg?style=flat-square)](https://github.com/makotot/get-assemble-partial-name)
[![dependencies](http://img.shields.io/david/makotot/get-assemble-partial-name.svg?style=flat-square)](https://github.com/makotot/get-assemble-partial-name)
[![devDependencies](http://img.shields.io/david/dev/makotot/get-assemble-partial-name.svg?style=flat-square)](https://github.com/makotot/get-assemble-partial-name)
[![License](http://img.shields.io/npm/l/get-assemble-partial-name.svg?style=flat-square)](https://github.com/makotot/get-assemble-partial-name)> Get the assemble partial name
## Install
```sh
$ npm i --save get-assemble-partial-name
```## Usage
```js
var name = getPartialName('./src/partials/header.hbs');console.log(name);
// => 'header'
```
or
```js
getPartialName('./src/partials/header.hbs', function (err, name) {
console.log(name);
// => 'header'
});
```## License
MIT