Skip to content

A simple JS sourcemap encoder for Java, inspired by coffee-source-map.

License

Notifications You must be signed in to change notification settings

fjmilens3/sourcemap-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sourcemap-encoder

A simple JS sourcemap encoder for Java, inspired by coffee-source-map.

It's very lightweight with a small feature set, and mostly targeted at those (like myself) who would like to dabble in compile-to-JS languages from within the Java platform.

The library is implemented using Java as a Maven project, though it is not yet available in any public Maven repositories. Sorry!

License

This work is licensed under the Apache License, Version 2.0. As always, I'd really appreciate it if you'd release any of your own improvements or additions to the code back into this project as well.

Acknowledgements

Benbria's coffee-source-map was instrumental as an excellent reference implementation and resource for my work. My encoder's inner workings are a shameless port of the (cleaner) Coffeescript.

Alexander Pavlov's BASE64 VLQ CODEC was also quite helpful in generating known values for the unit test suite.

About

A simple JS sourcemap encoder for Java, inspired by coffee-source-map.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages