Socket
Socket
Sign inDemoInstall

riot

Package Overview
Dependencies
Maintainers
2
Versions
276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

riot - npm Package Compare versions

Comparing version 0.0.0 to 2.0.0-beta1

.npmignore

35

package.json
{
"name": "riot",
"version": "0.0.0",
"description": "Riot!",
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"version": "2.0.0-beta1",
"description": "A React- like, 2.5K user interface library",
"homepage": "https://muut.com/riotjs/",
"repository": "muut/riotjs",
"author": "Muut, Inc. and other contributors",
"license": "MIT",
"keywords": [
"MVP",
"MVC",
"framework",
"library",
"riotjs",
"riot.js"
],
"preferGlobal": true,
"bin": {
"riot": "compiler/make.js"
},
"author": "brian@hovercraftstudios.com",
"license": "MIT"
"main": "compiler/make.js",
"dependencies": {
"gaze": "^0.6.4",
"minimist": "^1.1.0",
"shelljs": "^0.3.0"
},
"devDependencies": {
"jshint": "latest",
"uglify-js": "latest",
"jsdom": "latest"
}
}

35

README.md

@@ -1,1 +0,34 @@

It's a riot!
## Riot.js: A React- like, 2.5K user interface library
### Virtual DOM • Custom tags • IE8 • Full stack
#### Tag definition
``` html
<timer>
<p>Seconds Elapsed: { opts.time }</p>
var timer = setInterval(function() {
if (!self.update({ time: ++opts.time })) clearInterval(timer)
}, 1000)
</timer>
```
#### Mounting
``` javascript
riot.mount('time', { time: 0 })
```
#### Nested tags
``` html
<timetable>
<timer time="0"></timer>
<timer time="10"></timer>
<timer time="20"></timer>
<timetable>
```
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc