A Pen by Anand Thakker on CodePen.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var trumpet = require('../'); | |
var through = require('through2'); | |
var fs = require('fs'); | |
trumpetBigassFile(process.stdout, "******* success with stdout!"); | |
trumpetBigassFile(fs.createWriteStream('temp.html'), "******* success with file!"); | |
function trumpetBigassFile(writeStream, message) { |
I hereby claim:
- I am anandthakker on github.
- I am anandthakker (https://keybase.io/anandthakker) on keybase.
- I have a public key whose fingerprint is 7F94 DE91 B40A 4E3D B43B 6886 F288 30EB 768D D2ED
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = | |
class MyPackageView | |
atom.deserializers.add(this) | |
constructor: (@data) -> #property assigned | |
serialize: -> { deserializer: 'MyPackageView', data: @data } | |
@deserialize: ({data}) -> new MyPackageView(data) |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/** | |
* Convert the given omnivore-compatible vector source into an mbtiles | |
* file of vector tiles. | |
*/ | |
var path = require('path') | |
var multi = require('multimeter')(process) | |
var tilelive = require('tilelive') |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env node | |
/* | |
* Read a newline-delimited stream of GeoJSON features, | |
* write a valid GeoJSON FeatureCollection. | |
*/ | |
var geojsonstream = require('geojson-stream') | |
var ndjson = require('ndjson') | |
process.stdin |
OlderNewer