buffer-equal/000755 001751 000177 0000000000 14522265601015120 5ustar00runner000000 000000 1452226560114522265601buffer-equal/LICENSE000644 001751 000177 0000002165 14522265601016131 0ustar00runner000000 000000 1452226560114522265601 MIT License Copyright (c) Microsoft Corporation. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE buffer-equal/README.md000644 001751 000177 0000002156 14522265601016377 0ustar00runner000000 000000 1452230016614522265601# Installation > `npm install --save @types/buffer-equal` # Summary This package contains type definitions for buffer-equal (https://github.com/substack/node-buffer-equal). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/buffer-equal. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/buffer-equal/index.d.ts) ````ts /// export = bufferEqual; /** * @return Whether the two buffers are equal. * * @example * import bufferEqual = require('buffer-equal'); * * console.dir(bufferEqual( * Buffer.from([253,254,255]), * Buffer.from([253,254,255]) * )); * // -> true * * console.dir(bufferEqual( * Buffer.from('abc'), * Buffer.from('abcd') * )); * // -> false */ declare function bufferEqual(a: Buffer, b: Buffer): boolean; ```` ### Additional Details * Last updated: Mon, 06 Nov 2023 22:41:05 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [Bart van der Schoor](https://github.com/Bartvds). buffer-equal/index.d.ts000644 001751 000177 0000000716 14522265601017025 0ustar00runner000000 000000 1452226560114522265601/// export = bufferEqual; /** * @return Whether the two buffers are equal. * * @example * import bufferEqual = require('buffer-equal'); * * console.dir(bufferEqual( * Buffer.from([253,254,255]), * Buffer.from([253,254,255]) * )); * // -> true * * console.dir(bufferEqual( * Buffer.from('abc'), * Buffer.from('abcd') * )); * // -> false */ declare function bufferEqual(a: Buffer, b: Buffer): boolean; buffer-equal/package.json000644 001751 000177 0000001513 14522265601017402 0ustar00runner000000 000000 1452230016614522265601{ "name": "@types/buffer-equal", "version": "1.0.2", "description": "TypeScript definitions for buffer-equal", "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/buffer-equal", "license": "MIT", "contributors": [ { "name": "Bart van der Schoor", "githubUsername": "Bartvds", "url": "https://github.com/Bartvds" } ], "main": "", "types": "index.d.ts", "repository": { "type": "git", "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", "directory": "types/buffer-equal" }, "scripts": {}, "dependencies": { "@types/node": "*" }, "typesPublisherContentHash": "d86999294b59b31a5be696b94ed7a49caf6320ff204d8897b4213cd773cef6bd", "typeScriptVersion": "4.5" }