node-util icon indicating copy to clipboard operation
node-util copied to clipboard

node.js util module as a module

Results 27 node-util issues
Sort by recently updated
recently updated
newest added

This doesn't work yet because browserify 16's shims don't support old IE by default. We can switch back to buffer@4 probably to make it work again.

`util.inspect(new Error('foo'))` in Node prints the stack trace of the error: ``` Error: foo at repl:1:15 at Script.runInThisContext (vm.js:122:20) at REPLServer.defaultEval (repl.js:334:29) at bound (domain.js:395:14) at REPLServer.runBound [as eval] (domain.js:408:12)...

Does anyone know a browser-compatible inspect module that supports them, or can add support for them here? Using [email protected], Node.js v6.9.4, npm v3.10.10, Ubuntu 14.04.5 LTS trusty: ```javascript var nums...

I have a node class that inherits Event emitter: ``` function MyClass() { EventEmitter.call(this); } util.inherits(MyClass, EventEmitter); ``` This class also has it's prototype object with methods: ``` MyClass.prototype.foo =...

Hello @defunctzombie. I was just wondering whether you considered upgrading the utils to match the new features of the `util` module introduced by node >=4. Specifically ES2015 data types support...

util.TextEncoder and util.TextDecoder are missing. Any chance for including this?

the line below refs to `inherits()` from `inherits` module, but `inherits` module reference back to `util` module by checking the implementation on `util` module first, causing the first `require('inherits')` to...