Skip to content

pigeonposse/structium

Structium

Web About Us Donate Twitter Instagram Medium

BANNER

License Version NPM package minimized gzipped size NPM Unpacked Size

Serialize and deserialize any data structure

Table of contents

What is it structium?

BANNER

structium is a JavaScript Library for Serialize and deserialize any data structure in any environment (browser, node, etc).

Read more

Usage

Libary usage

import { markdown } from 'structium'

const data = markdown.deserialize(`
# Example Markdown

This is an example Markdown document.
[Read more](https://structium.pigeonposse.com)`
)

console.log(data)

Individual usage

import { deserialize } from '@structium/toml'

const data = deserialize(`
name = "Alice"
age = 30
city = "New York"

[address]
street = "123 Main St"
zip = "10001"

hobbies = ["reading", "hiking", "painting"]
`)
console.log(data)

CLI usage

npx structium yaml deserialize -i https://example.com/data.yaml -o data.json

πŸ”‘ Installation

npm install structium
# or
pnpm install structium
# or
yarn add structium
# or
bun add structium
# or
deno add structium

βž• More


πŸ‘¨β€πŸ’» Development

structium is an open-source project and its development is open to anyone who wants to participate.

Issues Pull requests Read more

❀️ Donate

Help us to develop more interesting things.

Donate

πŸ“œ License

This software is licensed with MIT.

Read more

✨ About us

PigeonPosse is a code development collective focused on creating practical and interesting tools that help developers and users enjoy a more agile and comfortable experience. Our projects cover various programming sectors and we do not have a thematic limitation in terms of projects.

More

Contributors

Name Role
Angelo Angelo πŸ‘‘ Author
PigeonPosse PigeonPosse 🏒 Organization

Web About Us Donate Twitter Instagram Medium