@santerijps/mion
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

mion

mion (Minimal Object Notation) is a clean and lean alternative to JSON, which is easily converted to JSON. It looks familiar to JSON with a minimalist syntax to ensure easy readability and a small footprint. As an additional feature, mion supports list schemas, which makes it delightful to declare lists without repetition.

# This is a comment!

name      "Alice"   # string
age       50        # number
is_adult  true      # boolean
naughty   null      # null

address { # White space is irrelevant
  country   "UK"
  city      "London"
  street    "123 Baker Street"
}

fruits [
  "apple"
  "banana"
  "orange"
]

people (id name age) [
  1 "Alice" 50
  2 "Bob" 60
  3 "Charlie" 45
]

Package Sidebar

Install

npm i @santerijps/mion

Weekly Downloads

0

Version

1.0.2

License

CC0-1.0

Unpacked Size

84 kB

Total Files

15

Last publish

Collaborators

  • santerijps