0.5.1 • Published 1 year ago

@baid-group/dotbim-ts v0.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

dotbim-ts

Open-source TypeScript types, parser and encoder for dotbim file format.

dotbim's website: https://dotbim.net/

Here you can find small manual for developers regarding development of tools that will work with .bim file format: https://github.com/paireks/dotbim/blob/master/DeveloperTips.md

Installation

npm install @baid-group/dotbim-ts
//or
yarn add @baid-group/dotbim-ts

Using the library

Parse

import { parse } from "@baid-group/dotbim-ts";
import { readFileSync } from "fs";

const fileData: string = readFileSync("path/to/file.bim", {
  encoding: "utf-8",
});

parse(fileData);

Encode

import { encode, BimFile } from "@baid-group/dotbim-ts";

const dataToEncode: BimFile = {
  // some valid dotbim object
};

encode(dataToEncode);

Developed

dotbim-ts is developed and maintained by Baid Group for everyone in BIM community!

License

dotbim-ts is licensed under the MIT license. Please read the LICENSE file in this repository for more details.

0.5.0

1 year ago

0.5.1

1 year ago

0.4.4

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago