@frctl/fractal-plugin-files-name
v2.0.0-alpha.7
Published
Adds a name property to file objects
Downloads
8
Readme
@frctl/fractal-plugin-files-name
Adds a name property to files objects.
Installation
npm install @frctl/fractal-plugin-files-name
Usage
Via config
{
"plugins": {
"files": [
"@frctl/fractal-plugin-files-name"
]
}
}
Via Node API
const fractal = require('@frctl/fractal')();
const plugin = require('@frctl/fractal-plugin-files-name')({
/* options */
});
fractal.getTransformer('files').addPlugin(plugin);