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
npm install @baid-group/dotbim-ts
//or
yarn add @baid-group/dotbim-ts
import { parse } from "@baid-group/dotbim-ts";
import { readFileSync } from "fs";
const fileData: string = readFileSync("path/to/file.bim", {
encoding: "utf-8",
});
parse(fileData);
import { encode, BimFile } from "@baid-group/dotbim-ts";
const dataToEncode: BimFile = {
// some valid dotbim object
};
encode(dataToEncode);
dotbim-ts is developed and maintained by Baid Group for everyone in BIM community!
dotbim-ts is licensed under the MIT license. Please read the LICENSE file in this repository for more details.