Skip to content

Tuyuji/AkoJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AkoJS

AkoJS Parser and Serializer for JavaScript/TypeScript.

For info about Ako see Ako's README

AkoJS has zero dependencies, you can copy and paste the ako.js file into your project as needed.

Example

//Deno
import * as ako from "@tuyuji/akojs";

/*
-fullscreen
window.size 1280x720
 */
var akosrc = "...";

var data = ako.parse(akosrc);
//data =
/*
{
    "fullscreen": false,
    "window": {
        "size": [
            1280,
            720
        ],
    },
}
 */

console.log(
  ako.serialize({ "fullscreen": false, "window": { "size": [1280, 720] } }),
);
/*
-fullscreen
window [
    size 1280x720
]
 */

About

Ako Parser and Serializer for JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors