0.4.8-alpha.4 • Published 3 years ago

@sensio/op-sn-file v0.4.8-alpha.4

Weekly downloads
13
License
Apache-2.0
Repository
gitlab
Last release
3 years ago

@sensio/op-sn-file

Blockchain Version bafy2bzaced67meyosnnt6dmvsp4sjro5mo5ufu3ntoqamouttsa4tlqo6ta2m

Description

Reads the file from given path (data) and returns the buffer. RAW file buffer for other ops to use.

Links and Repo

Install

# install latest version
yarn add @sensio/op-sn-file

# or specific version
yarn add @sensio/op-sn-file@0.1.0

Usage

import snFile from '@sensio/op-sn-file'

const dataAsUintArray = new U8intArray(7)
const dataAsBuffer = Buffer.from(7)
await snFile([{ data: dataAsUintArray, decode: () => dataAsBuffer }])

Contributing

PRs accepted.

License

Longer version is in LICENSE file

Apache-2.0 © Sensio Group

0.4.8-alpha.4

3 years ago

0.4.8-alpha.3

3 years ago

0.4.8-alpha.2

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.8-alpha.0

3 years ago

0.4.6-alpha.0

4 years ago

0.4.5

4 years ago

0.4.5-alpha.0

4 years ago

0.4.4-alpha.0

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago