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

1.0.13-prealpha • Public • Published

Puls Compiler (Experimental)

npm install pulsjs-compiler

vite.config.ts

import {pulsVite} from "pulsjs-compiler";

export default {
    plugins: [
        pulsVite()
    ]
}

ExampleComponent.puls

<script>
import { state } from 'pulsjs';

const name = state('John Doe');
</script>

<h1>${name}</h1>
<input :bind=${name} />

index.js

import ExampleComponent from './ExampleComponent.puls';

appendTo(document.body, html`
    <${ExampleComponent} />
`)

IDE support

Currently PulsJS IDE has no official plugins. For simple autocompletion and syntax highlighting, you can use the Svelte plugins.

Readme

Keywords

none

Package Sidebar

Install

npm i pulsjs-compiler

Weekly Downloads

211

Version

1.0.13-prealpha

License

MIT

Unpacked Size

33.2 kB

Total Files

8

Last publish

Collaborators

  • interaapps