Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
grep for «([^a-zA-Z]Buffer[^a-zA-Z] *[!=]==?.*constructor[^:.(]|constructor *[!=]==? *Buffer)» in npm modules, as of 2016-01-28, sorted by downloads per month
1005227 bson-0.4.21.tgz/alternate_parsers/faster_bson.js:369: if (id.constructor === Buffer){
14502 jimp-0.2.21.tgz/index.js:204: if ("string" != typeof src && ("object" != typeof src || Buffer != src.constructor))
14502 jimp-0.2.21.tgz/index.js:178: if (Buffer != data.constructor)
14502 jimp-0.2.21.tgz/index.js:149: if ("object" == typeof data && Buffer == data.constructor) {
5630 read-dir-files-0.1.1.tgz/test/read-dir-files-test.js:29: if (typeof content[key] === 'object' && content[key].constructor !== Buffer) {
1421 fairmont-1.0.0-beta-40.tgz/lib/fs.js:67: return assert(((yield read("test/lines.txt", "binary"))).constructor === Buffer);
648 keythereum-0.2.1.tgz/index.js:158: if (ciphertext.constructor === Buffer)
648 keythereum-0.2.1.tgz/index.js:155: if (derivedKey.constructor === Buffer)
534 typed-model-5.0.0.tgz/test/test.js:2005: if (value.constructor === Buffer) {
534 typed-model-5.0.0.tgz/test/test.js:1960: if (value.constructor === Buffer) {
338 fashion-model-5.0.11.tgz/test/test.js:2060: if (value.constructor === Buffer) {
338 fashion-model-5.0.11.tgz/test/test.js:2015: if (value.constructor === Buffer) {
308 ijs-0.4.0.tgz/src/protocol/display.js:66: else if (value.constructor == Buffer) {
285 purecloud-scs-cli-1.0.22.tgz/provisioning/http-request.js:102: if ((body.constructor !== String) || (body.constructor !== Buffer)) {
282 metalsmith-prismic-0.8.2.tgz/test/index.js:166: return files[file].contents.constructor !== Buffer;
221 rest-options-parser-2.0.5.tgz/types.js:11: if (value.constructor === Buffer) {
193 squish-0.2.3.tgz/lib/squish.js:17: if (str.constructor === Buffer) {
164 augur-client-0.1.3.tgz/app/app.js:109180: if (ciphertext.constructor === Buffer)
164 augur-client-0.1.3.tgz/app/app.js:109177: if (derivedKey.constructor === Buffer)
150 ljve.io-0.4.10.tgz/core/cluster/ipc.server.js:474: } else if (chunk.constructor !== Buffer) {
101 crc-itu-0.1.0.tgz/index.js:8: } else if(strOrBuffer.constructor === Buffer) {
79 crc-itu-0-12-0.0.6.tgz/index.js:7: } else if(strOrBuffer.constructor === Buffer) {
59 nervecentre-0.1.3.tgz/inc/util.js:31: contentLength = body.constructor == Buffer ? body.length : Buffer.byteLength(body,'binary');
57 launchjs-0.0.4.tgz/lib/context.js:52: if (message.constructor !== Buffer && typeof(message) === typeof({}))
53 node-redis-crc16-0.0.4.tgz/index.js:8: } else if(strOrBuffer.constructor === Buffer) {
48 dovehash-0.0.5.tgz/index.js:153: if (buf.constructor !== Buffer) { return buf; }
48 dovehash-0.0.5.tgz/index.js:145: if (i.constructor === Buffer) { return i; }
46 ethereumjs-keys-0.0.3.tgz/index.js:134: if (ciphertext.constructor === Buffer) {
46 ethereumjs-keys-0.0.3.tgz/index.js:131: if (derivedKey.constructor === Buffer) {
46 crc16-1.0.0.tgz/index.js:7: } else if (strOrBuffer.constructor === Buffer) {
42 item-set-0.0.3.tgz/src/set.js:247: return v.constructor === Buffer;
42 item-set-0.0.3.tgz/src-cov/set.js:367: return v.constructor === Buffer;
40 veritrans-0.1.1.tgz/lib/utils.js:31: if (typeof source !== 'string' && (source.constructor && source.constructor !== Buffer)) {
39 dynamizer-0.0.4.tgz/src/dynamizer.js:46: } else if (o.constructor === Buffer) { // binary values (Buffer)
39 dynamizer-0.0.4.tgz/src-cov/dynamizer.js:111: } else if (_$jscmd("src/dynamizer.js", "cond", "46_13_24", o.constructor === Buffer)) {
34 cryp-0.1.1.tgz/Cryp.js:9: if (data.constructor != Buffer)
34 cryp-0.1.1.tgz/Cryp.js:75: if (sign.constructor != Buffer)
34 cryp-0.1.1.tgz/Cryp.js:72: if (data.constructor != Buffer)
34 cryp-0.1.1.tgz/Cryp.js:63: if (data.constructor != Buffer)
34 cryp-0.1.1.tgz/Cryp.js:49: if (data.constructor != Buffer)
34 cryp-0.1.1.tgz/Cryp.js:20: if (data.constructor != Buffer)
33 vst-info-1.0.1.tgz/index.js:59: if (result === undefined || result.constructor !== Buffer) {
29 mech-png-0.0.1.tgz/lib/bitmapper.js:42: if ( pixels.constructor === Buffer) {
21 spacesocket-0.0.1.tgz/lib/framing.js:176: if (data.constructor !== Buffer) {
21 spacesocket-0.0.1.tgz/lib/connection.js:84: (payload.constructor === Buffer) ? 'binary' : 'text');
21 pot.js-1.2.3.tgz/src/Serializer.js:394: if (typeof Buffer !== 'undefined' && params.constructor === Buffer) {
21 pot.js-1.2.3.tgz/potlite.js:15272: if (typeof Buffer !== 'undefined' && params.constructor === Buffer) {
21 pot.js-1.2.3.tgz/pot.js:17205: if (typeof Buffer !== 'undefined' && params.constructor === Buffer) {
20 viceroy-schema-0.0.8.tgz/lib/types.js:56: (val.constructor == Buffer || val.constructor === Uint8Array);
20 patci-jimp-0.2.19.tgz/index.js:208: if ("string" != typeof src && ("object" != typeof src || Buffer != src.constructor))
20 patci-jimp-0.2.19.tgz/index.js:182: if (Buffer != data.constructor)
20 patci-jimp-0.2.19.tgz/index.js:153: if ("object" == typeof data && Buffer == data.constructor) {
19 merlin-schema-0.0.0.tgz/lib/types.js:56: (val.constructor == Buffer || val.constructor === Uint8Array);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.