Package Exports
- website-to-json
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (website-to-json) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Website to json converter (wtj)
The mission of this tool is to convert each website to understandable JSON.
Installation
$ npm install website-to-json --saveGetting started
Basic
var wtj = require('website-to-json')
wtj.extractUrl('twitter.com/itemsapi')
.then(function(res) {
console.log(res);
})Full options
wtj.extractUrl('twitter.com/itemsapi', {
recipes: __dirname + '/recipes.js',
timeout: 3000,
type: 'request'
})
.then(function(res) {
console.log(res);
})CLI
$ wtj twitter.com/itemsapiTo be continued!