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

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

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


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 2018-10-29T16:02:15Z
Distributions NixOS:0.1.0.1
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1045 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-10-29 [all 1 reports]

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.