metalsmith-writemetadata
metalsmith-writemetadata copied to clipboard
A metalsmith plugin to write the metadata excerpted from the files to the filesystem as json files.
Added yarn support and changed dependency 'circular-json' to 'flatted'
space param isn't in the readme, so by default output is uglified. The few times I've used this plugin I've been using editor plugins to pretty print the output. It...
converting `file[file].contents` to string breaks other plugins (like metalsmith-layouts), so I just added 'contents' to the stringify callback.