nl_tokens: Promisify all functions on the given object .
pl_tokens: function promisifyAll ( obj , options ) { if ( ! obj ) { // This object could be anything, including a function, a real object, or an array. throw new TypeError ( 'promisify.all requires a truthy value' ) ; } const out = { } ; for ( var name in obj ) { if ( typeof obj [ name ] === 'function' ) { out [ name ] = promisify ( obj [ name ] . bind ( obj ) , options ) ; } } return <mask> ; }