New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

buffer-hashmap

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buffer-hashmap

buffer hashmap

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

Implement hashmap on buffer,uses Buffer as its storage space rather than heap memory

eg. var map = require("buffer-hashmap").createMap({type:'UInt64'},{userId:{type:'UInt64'},title:{type:'String',maxLength:10}},20000); map.set(1000,{userId:30,title:"test"}); map.get(1000);

TODO: Buffer length limit in v8(2GB on 64 bit,1GB on 32 bit), union buffer to support more. support array as value.

Keywords

buffer

FAQs

Package last updated on 10 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts