memory-chunk-store

WebJar for memory-chunk-store

License

License

MIT
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

memory-chunk-store
Last Version

Last Version

1.3.0
Release Date

Release Date

Type

Type

jar
Description

Description

memory-chunk-store
WebJar for memory-chunk-store
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mafintosh/memory-chunk-store

Download memory-chunk-store

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/memory-chunk-store/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>memory-chunk-store</artifactId>
    <version>1.3.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/memory-chunk-store/
implementation 'org.webjars.npm:memory-chunk-store:1.3.0'
// https://jarcasting.com/artifacts/org.webjars.npm/memory-chunk-store/
implementation ("org.webjars.npm:memory-chunk-store:1.3.0")
'org.webjars.npm:memory-chunk-store:jar:1.3.0'
<dependency org="org.webjars.npm" name="memory-chunk-store" rev="1.3.0">
  <artifact name="memory-chunk-store" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='memory-chunk-store', version='1.3.0')
)
libraryDependencies += "org.webjars.npm" % "memory-chunk-store" % "1.3.0"
[org.webjars.npm/memory-chunk-store "1.3.0"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

memory-chunk-store build status

In memory chunk store that is abstract-chunk-store compliant

abstract chunk store

Install

npm install memory-chunk-store

Usage

var mem = require('memory-chunk-store')
var chunks = mem(10)

chunks.put(0, new Buffer('01234567890'), function (err) {
  if (err) throw err
  chunks.get(0, function (err, chunk) {
    if (err) throw err
    console.log(chunk) // '01234567890' as a buffer
  })
})

License

MIT

Versions

Version
1.3.0