0.6.1 • Published 2 years ago

@rxstack/utils v0.6.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

The RxStack Utils

The Utils component is a collection of helpers.

Installation

npm install @rxstack/utils --save

Documentation

Parse range

Parse the given header string where size is the maximum size of the resource.

import {parseRange} from '@rxstack/utils'

parseRange('bytes=0-1023', 10000); 
// output {'start': 0, 'end': 1023, 'chunkSize': 1024}

License

Licensed under the MIT license.

0.6.1

2 years ago

0.6.0

3 years ago

0.5.0

4 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.4

5 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago