Socket
Socket
Sign inDemoInstall

riot-compiler

Package Overview
Dependencies
8
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    riot-compiler

Compiler for riot .tag files


Version published
Weekly downloads
2.4K
increased by5.99%
Maintainers
1
Install size
694 kB
Created
Weekly downloads
 

Readme

Source

Build Status Issue Count Coverage Status NPM version NPM downloads MIT License

Documentation

  • API

Installation

Npm

$ npm install riot-compiler --save

Read more in the doc folder and the CHANGELOG

Please note: the documentation is a work in progress. Contributions are welcome.

For babel users
  • babel - For babel-core v6.x - You must npm install babel-preset-es2015-riot too, for this to work.
  • babel - For @babel/core v7.x - You must set the option "module": "false" in order to compile your tags properly

Known Issues

  • Expressions within attribute values containing > must be enclosed in quotes. Ex: <mytag hidden="{ a > 5 }">.
  • Shorthands within attributes parsed by CoffeeScript must be prefixed with a caret: <mytag class="{^ c:1 }">

Keywords

FAQs

Last updated on 03 Mar 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc