jonscript
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Jonscript

  1. Introduction JonScript is a newly created language is transpiled into Typescript and Javascript. This package builds JonScript with the help of webpack. Jonscript is an OOP language with prototypal inheritance.
  2. Build
    // Webpack excerpt
      entry: "./src/index.jons",
        module: {
            rules: [
            {
                test: /\.jons$/,
                use: "jonscript",
                exclude: /node_modules/,
            },
            {
                test: /\.tsx?$/,
                use: "ts-loader",
                exclude: /node_modules/,
            },
            ],
        },
        resolve: {
            extensions: [ ".tsx", ".ts", ".js", ".jons" ],
        },
  3. More information https://medium.com/@jindrj14/jonscript-a-better-javascript-a7ebe55707b9

Readme

Keywords

none

Package Sidebar

Install

npm i jonscript

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

344 kB

Total Files

86

Last publish

Collaborators

  • jindra12