{"_id":"six","_rev":"15-d5422bb183829a15a96168f8ab6a341b","name":"six","description":"JavaScript you can bet on.","dist-tags":{"latest":"0.0.12"},"versions":{"0.0.1":{"name":"six","description":"Tomorrow's JavaScript, today.","keywords":["javascript","language","six","compiler"],"author":{"name":"Matthew Robb"},"version":"0.0.1","licenses":[{"type":"MIT","url":"https://raw.github.com/matthewrobb/six/master/LICENSE"}],"homepage":"http://sixlang.org","bugs":"https://github.com/matthewrobb/six/issues","repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"_id":"six@0.0.1","dist":{"shasum":"bf9521a9105fab7b284d85e7e17b82ae9eb23ac6","tarball":"https://registry.npmjs.org/six/-/six-0.0.1.tgz","integrity":"sha512-J1XezA9E3qBxR21BNyTG1vL+6t8NVqXMEX5V5kONwDQHjg+y8hwzmm9hDP7UPiOhtcJvmngyvh4zlyDWcjmOEQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDIm3p9ICar6j018qdkVWrRKVRwCzwpDM4/Db3a1OxKqAiBpcY+0hZnD4e2J4QLOoX2KJ8yzkNl3BbPtoIGeR/NEGg=="}]},"maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}]},"0.0.6":{"name":"six","description":"JavaScript you can bet on.","keywords":["javascript","language","six","compiler"],"author":{"name":"Matthew Robb"},"version":"0.0.6","licenses":[{"type":"MIT","url":"https://raw.github.com/matthewrobb/six/master/LICENSE"}],"main":"./lib/six","bin":{"sake":"./bin/sake","six":"./bin/six"},"homepage":"http://sixlang.org","bugs":"https://github.com/matthewrobb/six/issues","repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"dependencies":{"uglify-js":""},"devDependencies":{"mocha":"","chai":"","should":"","cover":"","dot":""},"_id":"six@0.0.6","dist":{"shasum":"31375f11c9d404f471b12c9ff2e8ee8aa6271b59","tarball":"https://registry.npmjs.org/six/-/six-0.0.6.tgz","integrity":"sha512-GcBRoWBM/tqUT8i3mUttUFRUnNYefqytBgz5730mq6dzJYomidPpaVlKPnvlwdVzVbV1IEPAM8dpoizAdjQGpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFurgKDtBcbznEBXdYr5htMF7DRglQipGG8L9J0T4j1kAiEAry1Te5MfoFD9HOr/oanOgW0OZfSpJzzOCNFC9G0t2M4="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"matthewrobb","email":"matthewwrobb@gmail.com"},"maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}]},"0.0.9":{"name":"six","description":"JavaScript you can bet on.","keywords":["javascript","language","six","compiler"],"author":{"name":"Matthew Robb"},"version":"0.0.9","licenses":[{"type":"MIT","url":"https://raw.github.com/matthewrobb/six/master/LICENSE"}],"main":"./lib/six","bin":{"sake":"./bin/sake","six":"./bin/six"},"homepage":"http://sixlang.org","bugs":"https://github.com/matthewrobb/six/issues","repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"dependencies":{"esprima-six":"","escodegen":""},"devDependencies":{"mocha":"","chai":"","should":"","cover":"","dot":""},"scripts":{"test":"node node_modules/mocha/bin/mocha"},"_id":"six@0.0.9","dist":{"shasum":"209248e02fa565710da2f80a53bd3b259da3e572","tarball":"https://registry.npmjs.org/six/-/six-0.0.9.tgz","integrity":"sha512-3EymwsG906WR3kpTuWOXyIZexBDtbYwMDBZxOQtYeL4cc2whiOrOk45we6Wz6ZCRuzfjvCcXIfV/befi/Ym4yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFJSyixnOkZGXloV98EvhHT8n4F9g//HLeEELbZbvgV/AiAz46mpzMHCjzuCRQtM2HOBht9NUrhRQrvKBWY8LAuckQ=="}]},"_npmVersion":"1.1.61","_npmUser":{"name":"matthewrobb","email":"matthewwrobb@gmail.com"},"maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}]},"0.0.10":{"name":"six","description":"JavaScript you can bet on.","keywords":["javascript","language","six","compiler"],"author":{"name":"Matthew Robb"},"version":"0.0.10","licenses":[{"type":"MIT","url":"https://raw.github.com/matthewrobb/six/master/LICENSE"}],"main":"./lib/six","bin":{"sake":"./bin/sake","six":"./bin/six"},"homepage":"http://sixlang.org","bugs":"https://github.com/matthewrobb/six/issues","repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"dependencies":{"esprima-six":"","escodegen":""},"devDependencies":{"mocha":"","chai":"","should":"","cover":"","dot":""},"scripts":{"test":"node node_modules/mocha/bin/mocha"},"_id":"six@0.0.10","dist":{"shasum":"84a956bb2b2e478e388dcddd58e4de3093b188ee","tarball":"https://registry.npmjs.org/six/-/six-0.0.10.tgz","integrity":"sha512-FecO9J5pEWSM1ggho+iJa7aDxhSnZlTjGPb0zw/ea1FjAYtBjZftH2TjOrT2E1zjgkmtDD/scpajg6lEk6mkiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWyrRBSmEfbqtNOqEk7JOHdvEigrlziYtfJRsuAF9+wQIhAIexlRasxrtU3DLkzfckvjD89w+bXQX7TN9+IQDDEcSI"}]},"_npmVersion":"1.1.61","_npmUser":{"name":"matthewrobb","email":"matthewwrobb@gmail.com"},"maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}]},"0.0.11":{"name":"six","description":"JavaScript you can bet on.","keywords":["javascript","language","six","compiler"],"author":{"name":"Matthew Robb"},"version":"0.0.11","licenses":[{"type":"MIT","url":"https://raw.github.com/matthewrobb/six/master/LICENSE"}],"main":"./lib/six","bin":{"sake":"./bin/sake","six":"./bin/six"},"homepage":"http://sixlang.org","bugs":"https://github.com/matthewrobb/six/issues","repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"dependencies":{"esprima-six":"","escodegen":""},"devDependencies":{"mocha":"","chai":"","should":"","cover":"","dot":""},"scripts":{"test":"node node_modules/mocha/bin/mocha"},"_id":"six@0.0.11","dist":{"shasum":"47f89c26457e273b932c88b2cf4afa5122cb0364","tarball":"https://registry.npmjs.org/six/-/six-0.0.11.tgz","integrity":"sha512-zOnuR4WK9xKI/1MDgIrNxSVhOzCX0k55CCGitD0z6JkJJC7JTBucnAxA9E1CFnT7OgGNLkX5PFDI4ufQwEH3Vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBaTaPeCJ032Js7aPQihndeSRrj4D3IOMcXgdGnyz3vGAiBzg1NvkZxGkUYi9ciZiqu1lsz0sbmkem+8dg97hqLtiA=="}]},"maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}]},"0.0.12":{"name":"six","description":"JavaScript you can bet on.","keywords":["javascript","language","six","compiler"],"author":{"name":"Matthew Robb"},"version":"0.0.12","licenses":[{"type":"MIT","url":"https://raw.github.com/matthewrobb/six/master/LICENSE"}],"main":"./lib/six","bin":{"sake":"./bin/sake","six":"./bin/six"},"homepage":"http://sixlang.org","bugs":{"url":"https://github.com/matthewrobb/six/issues"},"repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"dependencies":{"esprima-six-jpike":"1.1.1-dev-harmony","escodegen":"0.0.15"},"devDependencies":{"mocha":"","chai":"","should":"","cover":"","dot":""},"scripts":{"test":"node node_modules/mocha/bin/mocha"},"_id":"six@0.0.12","dist":{"shasum":"5752d97434a25298ea7670557ea4fd7570409033","tarball":"https://registry.npmjs.org/six/-/six-0.0.12.tgz","integrity":"sha512-zX9fKGGn6EN7Vdv7Gq2KO5UnQJU75sBevoj9NKiR3tldMbm0hLmFutWDqnW6MZf6gKzbRisjEoCa0OP2zcew9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELahlBZAEpkVp3EOrHmH1QTPxc5ybL2p20laBuVObyAAiEAkUAhkoomJICNbAjFT724jlCvKF/LccnrODat9g/r0nk="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"matthewrobb","email":"mrobb@arena.net"},"maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}]}},"readme":"six  &nbsp;*:::* &nbsp; JavaScript you can bet on.\n===\n> Seriously, the shortest path on the Web usually is the winning play.\n> JS is demonstrably able to grow new capabilities with less effort than a “replacement” entails.\n> Always bet on JS!\n> &mdash; <cite>[Brendan Eich][1]</cite>\n\n[1]:https://brendaneich.com/2011/09/capitoljs-rivertrail/\n\n##Elevator\nSix is a language super-set of JavaScript that enables new syntactic features from the 6th edition of ECMAScript to be used, through a transpiler, in your scripts today.\n\nWARNING: Still in a very early state, proceed with caution.\n\nYou can **try it out now** with this interactive [demo](http://sixlang.org/docs/demo/demo.html)\n\n###Usage\n```JavaScript\n// Install\nnpm install six -g\n\n// Execute\nsix myFile.js\n\n// Compile\nsix --compile --output <OUTPUT> <SOURCE>\nsix -c -o <OUTPUT> <SOURCE>\n\n// Watch and compile\nsix -cwo <OUTPUT> <SOURCE>\n\n```\n\n\n###Examples\n```JavaScript\n\n// Arrow Function\n[ 1, 2, 3 ].forEach( item => print(item) )\n\n// Classes\nclass Person {\n  constructor(name) {\n    this.name = name\n  }\n  greet() {\n    print(\"Hello, my name is \" + this.name + \".\")\n  }\n}\n\n// Template Literals\nvar me = new Person(\"Matthew\")\nprint(`Hello, my name is ${me.name}.`)\n\n// Object Property Shorthands\nvar prop = \"erty\"\n\nvar myObj = {\n\n  // Implicit property initialization\n  prop,\n\n  // Method definition\n  method() {\n    print(\"method\")\n  }\n\n}\n\n// Rest parameters\nfunction x( ...args ) {}\n\n// Destructuring\nvar { c, d } = { c: 1, d: 2 }\n\n// Iterators\nvar stuff = [\"shoes\", \"shirt\", \"shorts\"]\n\nfor(var thing of stuff) {\n  print(thing)\n}\n\n// Importing modules from files or node modules\nmodule path = \"path\"\nmodule local = \"./local.js\"\n\n// Aliasing modules\nmodule files = fs\n\n// Importing content from a module\nimport dirname from fs\n\n// Importing content direct from a file\nimport local_function from \"./local.js\"\n\n// Export a function from a module.\nexport function mod_func() { }\n\n// Export variables from a module.\nexport var a = 400, b = {}\n\n```\n\n##Module Support\nsix outputs [UMD](https://github.com/umdjs/umd) compatible modules allowing modules to work in CommonJS environments such as node in addition to the web browser via an [AMD](http://requirejs.org/docs/whyamd.html) module environment such as [requirejs](http://requirejs.org/). Each file forms an implicit module whether a \"module\" declaration is used or not and thus the export (or the exports object) must be used to export data to the scope. The \"-g\" or \"--global\" command-line argument can be used to inhibit this behavior allowing code the possiblity to write directly to the global namespace when imported using an AMD module loader.\n\n##About\nThe Six project is building on top of the work already being done by different individuals and groups around the web. Particularly influential is the amazing work done by [Ariya Hidayat](https://github.com/ariya) and collaborators on the ECMAScript parser [Esprima](http://esprima.org).\n\nThe project was started out of a desire to build on the work done with the [Harmonizr](https://github.com/jdiamond/harmonizr) project by [Jason Diamond](https://github.com/jdiamond) and still borrows some of its internals from that source.\n\nA good deal of the work being done on and around the general workflows and APIs has been modeled after the very successfull [CoffeeScript](http://coffeescript.or) project by [Jeremy Ashkenas](https://github.com/jashkenas).\n\nThe ability to offer a tool such as this can't possibly exist without the members of [es-discuss](https://mail.mozilla.org/listinfo/es-discuss), and all the great people involved with [TC39](http://www.ecma-international.org/memento/TC39.htm) and standardization of the ECMAScript language.\n\nI have a fundamental belief in the philosophies around these projects and the open web in general. I believe this platform's future is vital to us all and I want to do everything I can to help move the needle.\n\nI'm betting on JavaScript.\n","maintainers":[{"name":"matthewrobb","email":"matthewwrobb@gmail.com"}],"time":{"modified":"2022-06-26T20:25:06.571Z","created":"2012-08-24T17:21:14.553Z","0.0.1":"2012-08-24T17:21:15.087Z","0.0.6":"2012-09-17T14:16:58.611Z","0.0.9":"2012-09-24T03:13:52.566Z","0.0.10":"2012-09-28T21:09:28.358Z","0.0.11":"2012-10-30T06:15:23.527Z","0.0.12":"2014-04-12T17:54:17.518Z"},"author":{"name":"Matthew Robb"},"repository":{"type":"git","url":"git://github.com/matthewrobb/six.git"},"homepage":"http://sixlang.org","keywords":["javascript","language","six","compiler"],"bugs":{"url":"https://github.com/matthewrobb/six/issues"},"readmeFilename":"README.md"}