https://github.com/moox/metalsmith-filenames
Metalsmith plugin to add filenames to entries
https://github.com/moox/metalsmith-filenames
Last synced: about 1 year ago
JSON representation
Metalsmith plugin to add filenames to entries
- Host: GitHub
- URL: https://github.com/moox/metalsmith-filenames
- Owner: MoOx
- License: mit
- Created: 2015-05-01T06:18:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-11-21T07:02:26.000Z (over 8 years ago)
- Last Synced: 2025-06-03T22:28:45.963Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# metalsmith-filenames [](https://travis-ci.org/MoOx/metalsmith-filenames)
> Metalsmith plugin to add filenames to entries
## Installation
```console
$ npm install metalsmith-filenames
```
## Usage
```js
import Metalsmith from "metalsmith"
import filenames from "metalsmith-filenames"
new Metalsmith("./")
.use(
filenames()
)
.build(err => {if (err) {throw err}})
```
## [Changelog](CHANGELOG.md)
## [License](LICENSE)