metalsmith-json-feed:在Metalsmith中实验性使用JSON Feed

时间:2021-04-30 19:13:57
【文件属性】:
文件名称:metalsmith-json-feed:在Metalsmith中实验性使用JSON Feed
文件大小:6KB
文件格式:ZIP
更新时间:2021-04-30 19:13:57
JavaScript Metalsmith JSON Feed插件 插件可使用任何处理文件。 安装 npm install --save metalsmith-json-feed 用法 创建您想要对json-feeds进行操作的文件 例子 src/feed.html --- json_feed: http://example.com/rest layout: mylayout.swig --- 命令行界面 如果您使用的是命令行版本的Metalsmith,则可以通过npm安装,然后将metalsmith-json-feed密钥添加到metalsmith.json文件中: { " plugins " : { " metalsmith-json-feed " : {} } } JavaScript 如果您将JS Api用于Metalsmith,则可以要求该模块并将其添加到.use()指令中:
【文件预览】:
metalsmith-json-feed-master
----.gitignore(27B)
----package.json(929B)
----LICENSE.md(1KB)
----.travis.yml(60B)
----index.js(1KB)
----README.md(1KB)
----HISTORY.md(510B)
----test()
--------index.js(639B)
--------fixtures()
----.editorconfig(147B)

网友评论