Socket
Socket
Sign inDemoInstall

fun

Package Overview
Dependencies
47
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    fun

A programming language for realtime web applications


Version published
Weekly downloads
26
decreased by-36.59%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

fun

A declarative programming language for realtime web applications

Getting started

Try this:

sudo npm install -g fun
echo '"Hello world!"' > hello.fun
fun hello.fun
# Open your browser to localhost:8080

Also try

curl https://raw.github.com/marcuswestin/fun/master/apps/todo-mvc/todo-mvc.fun > todo-mvc.fun
curl https://raw.github.com/marcuswestin/fun/master/apps/todo-mvc/todo-mvc.css > todo-mvc.css
fun todo-mvc.fun

Examples

Hello World

"Hello world!"

Drag and Drop

import mouse

<div style={
	position:   'absolute',
	top:        mouse.y + 50,
	left:       mouse.x + 50,
	width:      100,
	height:     100,
	background: 'red'
}/>

Getting involved

The best way to get involved is to start writing fun apps and using them. There are bugs and inefficiencies waiting to be discovered!

If you want to hack on the source:

git clone https://marcuswestin@github.com/marcuswestin/fun.git
cd fun
make setup
make test

FAQs

Last updated on 30 Apr 2012

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