metalsmith-classeur
v1.1.0
Published
metalsmith plugin scrape content from classeur
Downloads
4
Maintainers
Readme
metalsmith-classeur
metalsmith to scrape content from classeur
Highlights:
- fancy async stream for api requests
- super easy setup
See the annotated source or github repo
install
npm i --save github:leviwheatcroft/metalsmith-classeur
usage
example
Metalsmith('src')
.use(
classeur({
userId: 'aH7WHo2HQFrX5CHbGZx4',
apiKey: '9aXKQnP2UjjEeSSUcyGCMAOhnm4Vsf8u',
srcId: 'EKZEhM2Ju4EJHHeqNFOG',
destPath: 'articles',
invalidateCache: true
})
)
.build( ... )
options
srcId
{String} (required) id of classeur folder you wish to scrape (get this from the shareable url for the folderdestPath
{String} (required) the path under which you want to place the scraped filesuserId
{String} (required) userId from classeurapiKey
{String} (required) apiKey from classeur
Author
Levi Wheatcroft [email protected]
Contributing
Contributions welcome; Please submit all pull requests against the master branch.
License
- MIT : http://opensource.org/licenses/MIT