2.0.0 • Published 7 years ago

openslide-prop2json v2.0.0

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

openslide-prop2json

NPM Version Linux Build Windows Build
bitHound Overall Score bitHound Dependencies bitHound Dev Dependencies bitHound Code

js-semistandard-style

Parse OpenSlide properties (generated by openslide-show-properties) to JSON.
It will also automatically convert number and boolean fields.

List of Known Properties
Virtual slide formats understood by OpenSlide

Install

npm install openslide-prop2json -g  # CLI
npm install openslide-prop2json     # as module

Usage

CLI

# load properties file
openslide-show-properties Leica-1.scn > Leica-1.prop
openslide-prop2json Leica-1.prop
# OR with a pipe
openslide-show-properties Leica-1.scn | openslide-prop2json

As Module

const prop2json = require('openslide-prop2json');
prop2json(inputStream, options, (err, prop) => {
  console.log(JSON.stringify(prop, null, 2));
});

Debug logs

Supported DEBUG tags: osp2j:parse, osp2j:transform.
See visionmedia/debug for details.

TODO

2.0.0

7 years ago

1.4.0

8 years ago

1.3.5

8 years ago

1.3.4

8 years ago

1.3.3

8 years ago

1.3.2

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago