site/node_modules/rw/test/encode-object-async

8 lines
179 B
Plaintext
Raw Permalink Normal View History

2024-10-14 06:09:33 +00:00
#!/usr/bin/env node
var rw = require("../").dash;
rw.writeFile(process.argv[2] || "-", "gréén\n", {encoding: process.argv[3]}, function(error) {
if (error) throw error;
});