https://github.com/pigeonposse/structium
Serialize and deserialize any data structure in any environment
https://github.com/pigeonposse/structium
browser deserialize devs files format javascript library node pigeonposse pp serialize typescript
Last synced: 6 months ago
JSON representation
Serialize and deserialize any data structure in any environment
- Host: GitHub
- URL: https://github.com/pigeonposse/structium
- Owner: pigeonposse
- License: mit
- Created: 2025-07-19T01:17:10.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-07-19T18:11:26.000Z (6 months ago)
- Last Synced: 2025-07-19T19:52:23.609Z (6 months ago)
- Topics: browser, deserialize, devs, files, format, javascript, library, node, pigeonposse, pp, serialize, typescript
- Language: TypeScript
- Homepage: https://structium.pigeonposse.com
- Size: 854 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Structium
[](https://pigeonposse.com)
[](https://pigeonposse.com?popup=about)
[](https://pigeonposse.com/?popup=donate)
[](https://twitter.com/pigeonposse_)
[](https://www.instagram.com/pigeon.posse/)
[](https://medium.com/@pigeonposse)
[](https://structium.pigeonposse.com/guide/core)
[](/LICENSE)
[](https://www.npmjs.com/package/structium)
[](https://www.npmjs.com/package/structium)
[](https://www.npmjs.com/package/structium)
Serialize and deserialize any data structure
## Table of contents
- [What is it `structium`?](#what-is-it-structium)
- [Usage](#usage)
- [Libary usage](#libary-usage)
- [Individual usage](#individual-usage)
- [CLI usage](#cli-usage)
- [🔑 Installation](#-installation)
- [➕ More](#-more)
- [👨💻 Development](#-development)
- [❤️ Donate](#-donate)
- [📜 License](#-license)
- [✨ About us](#-about-us)
## What is it `structium`?

`structium` is a JavaScript Library for Serialize and deserialize any data structure in any environment (browser, node, etc).
[Read more](https://www.npmjs.com/package/structium)
## Usage
### Libary usage
```js
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
```js
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
```bash
npx structium yaml deserialize -i https://example.com/data.yaml -o data.json
```
## 🔑 Installation
```bash
npm install structium
# or
pnpm install structium
# or
yarn add structium
# or
bun add structium
# or
deno add structium
```
## ➕ More
- 🌞 [Core](https://structium.pigeonposse.com/guide/core)
- [Aio](https://structium.pigeonposse.com/guide/aio)
- [Asn1](https://structium.pigeonposse.com/guide/asn1)
- [Cson](https://structium.pigeonposse.com/guide/cson)
- [Css](https://structium.pigeonposse.com/guide/css)
- [Csv](https://structium.pigeonposse.com/guide/csv)
- [Env](https://structium.pigeonposse.com/guide/env)
- [Hcl](https://structium.pigeonposse.com/guide/hcl)
- [Graphql](https://structium.pigeonposse.com/guide/graphql)
- [Html-markdown](https://structium.pigeonposse.com/guide/html-markdown)
- [Ini](https://structium.pigeonposse.com/guide/ini)
- [Javascript](https://structium.pigeonposse.com/guide/javascript)
- [Json](https://structium.pigeonposse.com/guide/json)
- [Jsonld](https://structium.pigeonposse.com/guide/jsonld)
- [Lua](https://structium.pigeonposse.com/guide/lua)
- [Plist](https://structium.pigeonposse.com/guide/plist)
- [Sql](https://structium.pigeonposse.com/guide/sql)
- [Svg](https://structium.pigeonposse.com/guide/svg)
- [Toml](https://structium.pigeonposse.com/guide/toml)
- [Typescript](https://structium.pigeonposse.com/guide/typescript)
- [Xml](https://structium.pigeonposse.com/guide/xml)
- [Yaml](https://structium.pigeonposse.com/guide/yaml)
---
## 👨💻 Development
__structium__ is an open-source project and its development is open to anyone who wants to participate.
[](https://github.com/pigeonposse/structium/issues)
[](https://github.com/pigeonposse/structium/pulls)
[](https://structium.pigeonposse.com)
## ❤️ Donate
Help us to develop more interesting things.
[](https://pigeonposse.com/?popup=donate)
## 📜 License
This software is licensed with __[MIT]({{const.pkg.extra.licenseURL}})__.
[]({{const.pkg.extra.licenseURL}})
## ✨ 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.
[](https://github.com/pigeonposse)
## Contributors
| | Name | Role |
| ----- | ---- | ---- |
|  | [Angelo](https://github.com/angelespejo) | 👑 Author |
|  | [PigeonPosse](https://github.com/pigeonposse) | 🏢 Organization |
---
[](https://pigeonposse.com)
[](https://pigeonposse.com?popup=about)
[](https://pigeonposse.com/?popup=donate)
[](https://twitter.com/pigeonposse_)
[](https://www.instagram.com/pigeon.posse/)
[](https://medium.com/@pigeonposse)