Serialize and deserialize any data structure
- What is it
structium
? - Usage
- π Installation
- β More
- π¨βπ» Development
- β€οΈ Donate
- π License
- β¨ About us
structium
is a JavaScript Library for Serialize and deserialize any data structure in any environment (browser, node, etc).
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)
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)
npx structium yaml deserialize -i https://example.com/data.yaml -o data.json
npm install structium
# or
pnpm install structium
# or
yarn add structium
# or
bun add structium
# or
deno add structium
- π Core
- Aio
- Asn1
- Cson
- Css
- Csv
- Env
- Hcl
- Graphql
- Html-markdown
- Ini
- Javascript
- Json
- Jsonld
- Lua
- Plist
- Sql
- Svg
- Toml
- Typescript
- Xml
- Yaml
structium is an open-source project and its development is open to anyone who wants to participate.
Help us to develop more interesting things.
This software is licensed with MIT.
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.
Name | Role | |
---|---|---|
![]() |
Angelo | π Author |
![]() |
PigeonPosse | π’ Organization |