How to use the stream function from assert-plus
Find comprehensive JavaScript assert-plus.stream code examples handpicked from public code repositorys.
1845 1846 1847 1848 1849 1850 1851 1852 1853 1854
* - opts: see above * - cb: callback of the form f(err) */ MantaClient.prototype.put = function put(p, input, opts, cb) { assert.string(p, 'path'); assert.stream(input, 'input'); if (typeof (opts) === 'function') { cb = opts; opts = {}; }
41
75
0
+ 3 other calls in file
assert-plus.object is the most popular function in assert-plus (2295 examples)