TypeScript dotbim parser and encoder.

Overview

dotbim-ts

Open-source TypeScript 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.

You might also like...

A simple inefficient and buggy JSON parser written in JavaScript. Just a fun project

A simple inefficient and buggy JSON parser written in JavaScript. Just a fun project

A simple inefficient and buggy JSON parser written in JavaScript This JSON parser isn't guaranteed to work properly. Its recommended to use builtin JS

Feb 20, 2022

Binary-encoded serialization of JavaScript objects with generator-based parser and serializer

YaBSON Schemaless binary-encoded serialization of JavaScript objects with generator-based parser and serializer This library is designed to transfer l

Aug 9, 2022

A WASM shell parser and formatter with bash support, based on mvdan/sh

sh-syntax A WASM shell parser and formatter with bash support, based on mvdan/sh TOC Usage Install API Changelog License Usage Install # yarn yarn add

Jan 1, 2023

Simple and Extensible Markdown Parser for Svelte, however its simplicity can be extended to any framework.

svelte-simple-markdown This is a fork of Simple-Markdown, modified to target Svelte, however due to separating the parsing and outputting steps, it ca

May 22, 2022

🦾 Tiny 2kb Markdown parser written, almost as fast and smart as Tony Stark

Starkdown 🦾 Starkdown is a Tiny 2kb Markdown parser written, almost as fast and smart as Tony Stark. npm i starkdown Motivation It is a continuation

Sep 22, 2022

A Svelte parser that compiles to Mitosis JSON, allowing you to write Svelte components once and compile to every framework.

Sveltosis Still in development A Svelte parser that compiles to Mitosis JSON, allowing you to write Svelte components once and compile to every framew

Nov 24, 2022

Live port of Lark's standalone parser to Javascript

Lark.js Generate LALR(1) parsers in Javascript Lark is a popular parsing toolkit for Python. This project is a live port of the Lark standalone parser

Nov 19, 2022

This is a test parser which can automatically parse the tests in from websites like codeforces, codechef, atcoder etc.

This is a test parser which can automatically parse the tests in from websites like codeforces, codechef, atcoder etc.

✔ Sublime test parser This is a test parser which can automatically parse the tests in from websites like codeforces, codechef, atcoder etc. See how i

Aug 6, 2022

Request-Header-Parser-Microservice App for FreeCodeCamp Backend Challenge

API Project: Request Header Parser Microservice for freeCodeCamp User stories: I can get the IP address, preferred languages (from header Accept-Langu

Mar 20, 2022
Owner
Baid
BIM software company.
Baid
base64 decoder and encoder for nextjs 🎉

next-base64 next-base64 is a library for client-side and server-side base64 encoding and decoding Installation # Using npm npm install --save next-bas

Yony Calsin 5 Sep 11, 2022
URL query encoder/decoder with a user configuration

@lfgroup/query-coder URL query coder/decoder with configurable user pattern. It provides the most comfortable experience for encoding and decoding com

LF Group Inc. 14 Jul 14, 2022
Web stream based jsonlines decoder/encoder

jsonlines-web Web stream based jsonlines decoder/encoder ✅ Deno ✅ browser ✅ Node.js This library supports JSON in the following formats: Line-delimite

ayame113 4 Nov 16, 2022
z-base-32 encoder & decoder

z32 z-base-32 encoder & decoder npm install z32 Usage const z32 = require('z32') const s = z32.encode('Hello, World!') console.log(s) // jb1sa5dxfo

Mathias Buus 7 Jun 19, 2022
A lightweight Adobe Photoshop .psd/.psb file parser in typescript with zero-dependency for WebBrowser and NodeJS

@webtoon/psd A lightweight Adobe Photoshop .psd/.psb file parser in typescript with zero-dependency for WebBrowser and NodeJS Browser Support Chrome F

null 830 Jan 1, 2023
A Laravel Blade parser, compiler, and static analyzer written in TypeScript.

Blade Parser This library provides a Laravel Blade parser written in TypeScript. In addition to being able to parse Blade template files, this library

Stillat 7 Jan 4, 2023
A Parsimmon-like, stateful parser-combinator library with TypeScript.

terrario A Parsimmon-like, stateful parser-combinator library with TypeScript. Try it out! The terrario is a parser-combinator library inspired by PEG

marihachi 11 Dec 2, 2022
Jsonup - This is a zero dependency compile-time JSON parser written in TypeScript

jsonup This is a zero dependency compile-time JSON parser written in TypeScript.

TANIGUCHI Masaya 39 Dec 8, 2022
💬 A Twitch (BTTV and FFZ) emotes and badges parser - built with tmi.js in mind

?? A Twitch (BTTV and FFZ) emotes and badges parser - built with tmi.js in mind

Lucas Fernandes 8 Sep 2, 2022
A markdown parser and compiler. Built for speed.

Marked ⚡ built for speed ⬇️ low-level compiler for parsing markdown without caching or blocking for long periods of time ⚖️ light-weight while impleme

Marked 28.9k Jan 7, 2023