Skip to content

schas002/g.js

Repository files navigation

g.js

Yet another code-golfing library for JavaScript

Install

$ npm install schas002/g.js

Usage

// 22 bytes
let g=require('g.lib')
// TODO 'Hello, World!' example

Notes

  • The 22 bytes needed for the requirement do count for code-golfing purposes.

API

The below tree lists the relation of function conversions. Leaves in the tree represent those that convert to clear JavaScript, while branches represent those that convert into other functions in g.js.


  • VERSION, VER, _V: returns the g.js version
  • c(x): cl(x)
    • cl(x): console.log(x)
  • o(x), p(x): cl(x)

Maintainer

Contribute

A huge aye on that! Every issue and PR is welcome.

Every contributor to this repository must follow the code of conduct, which is: don't be rude.

License

MIT © Andrew Zyabin

About

Yet another code-golfing library for JavaScript

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published