{"action":"opened","issue":{"url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/79","labels_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/79/comments","events_url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/issues/79/events","html_url":"https://github.com/SINTEF-9012/PruneCluster/issues/79","id":97037017,"number":79,"title":"Should we rewrite the library in JavaScript?","user":{"login":"yellowiscool","id":45740,"avatar_url":"https://avatars.githubusercontent.com/u/45740?v=3","gravatar_id":"","url":"https://api.github.com/users/yellowiscool","html_url":"https://github.com/yellowiscool","followers_url":"https://api.github.com/users/yellowiscool/followers","following_url":"https://api.github.com/users/yellowiscool/following{/other_user}","gists_url":"https://api.github.com/users/yellowiscool/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowiscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowiscool/subscriptions","organizations_url":"https://api.github.com/users/yellowiscool/orgs","repos_url":"https://api.github.com/users/yellowiscool/repos","events_url":"https://api.github.com/users/yellowiscool/events{/privacy}","received_events_url":"https://api.github.com/users/yellowiscool/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SINTEF-9012/PruneCluster/labels/discussion","name":"discussion","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T11:51:23Z","updated_at":"2015-07-24T11:51:23Z","closed_at":null,"body":"The library is written in [TypeScript](http://www.typescriptlang.org/). TypeScript is a superset of JavaScript adding strong typing and other features such as classes and interfaces.\r\n\r\nWhen I started the development, TypeScript was brand new and promising. 1 year later, it is not very popular in the JavaScript community. I think ES6 with tools such as [Babel](http://babeljs.io/) have reduced the interest in TypeScript. It still has types, but bug reports demonstrated that the library needs to check everything during runtime anyway.\r\n\r\nI personally like TypeScript and I think the code completion and type checking features are pretty neat when used inside VisualStudio with [Leaflet's DefinitelyTyped definitions](http://definitelytyped.org/). But even though it's very light and close to ES6's syntax, it's a different language with a low popularity.\r\n\r\nThe conversion from TypeScript to ES6 (with Babel or equivalent for backward compatibility) can be considered."}}