package
Automagically render data files in the browser, like render-media
npm install render-dataGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Show a data stream in a browser. This automatically detects the extension, and displays the data intelligently, supporting video, audio, and images (thanks to render-media).
It will attempt to display filetypes intelligently, like .csv, .json, and .geojson!
Can also be used in server-side applications to statically render the DOM. However, geojson will not render in server-side due to a dependence on window from Leaflet.
npm install render-datavar data = require('render-data')
var file = {
name: 'stuff.R',
createReadStream: function () {
return fs.createReadStream('/path/to/my/data/and/stuff')
}
}
data.render(file, elem, opts, function (err) {
console.log('done rendering')
})Example in yo-fs.
Estimated unpacked size across 36 packages.
4.8 MB
Includes dependencies.
9 direct · 6 outdated
^1.0.1
3.0.4
^0.7.7
1.9.4
^1.9.3
3.2.1
^2.0.2
4.1.0
0.0.1
0.1.0
0.0.0