jmonkey: Jmonkey is very restricted but handy EDSL for JavaScript.

[ library, mit, web ] [ Propose Tags ]

Please see the README on GitHub at https://github.com/opyapeus/jmonkey#readme


[Skip to Readme]
Versions [faq] 0.1.0.0, 0.1.0.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), casing, free, jmacro [details]
License MIT
Copyright 2018 peus
Author peus
Maintainer opyapeus@gmail.com
Category Web
Home page https://github.com/opyapeus/jmonkey#readme
Bug tracker https://github.com/opyapeus/jmonkey/issues
Source repo head: git clone https://github.com/opyapeus/jmonkey
Uploaded by opyapeus at Mon Oct 29 16:02:15 UTC 2018
Distributions NixOS:0.1.0.1
Downloads 324 total (24 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2018-10-29 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for jmonkey-0.1.0.1

[back to package description]

jmonkey

Build status

Jmonkey is very restricted but handy EDSL for javascript.

The DOM effect that jmonkey can do is just to change classes and ids of HTML elements.

So it only supports some on-actions and condition checks.

Instead of limited functions, it can be called internally unlike other rich javascript EDSLs that require external calls.

If you manage some states for complex frontend actions, jmonkey won't be usable.

Jmonkey may be useful when you implement some actions that css can not handle.

Example

A practical implementation is shown in example.

Clone this repository first, and execute following.

stack run

Then access to localhost:3000.

Documentation

Contribution

If you find a bug or want new features or else, making issues and PRs are very welcome.