# buffer-map **Repository Path**: mirrors_chjj/buffer-map ## Basic Information - **Project Name**: buffer-map - **Description**: Buffer-keyed map for javascript - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-09-24 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # buffer-map Buffer-keyed map for javascript. ## Usage ``` js const assert = require('assert'); const {BufferMap} = require('buffer-map'); const key1 = Buffer.alloc(32, 0xab); const key2 = Buffer.alloc(32, 0xab); const map = new BufferMap(); map.set(key1, 'foo'); assert(map.get(key2) === 'foo'); ``` ## Contribution and License Agreement If you contribute code to this project, you are implicitly allowing your code to be distributed under the MIT license. You are also implicitly verifying that all code is your original work. `` ## License - Copyright (c) 2018, Christopher Jeffrey (MIT License). See LICENSE for more info.