This gist is updated daily via cron job and lists stats for npm packages:
- Top 1,000 most depended-upon packages
- Top 1,000 packages with largest number of dependencies
- Top 1,000 packages with highest PageRank score
server { listen 80; | |
server_name example.com; | |
access_log /var/log/example.com/nginx.access.log; | |
error_log /var/log/example.com/nginx.error.log; | |
root /var/www/apps/example.com/public; | |
charset utf-8; | |
location / { | |
rewrite ^ https://$host$request_uri? permanent; | |
} |
just the bare necessities of state management.
Hotlink it from https://unpkg.com/valoo
.
// XState https://statecharts.github.io/xstate-viz/ | |
const lightMachine = Machine({ | |
id: 'light2', | |
initial: 'standing', | |
states: { | |
standing: { | |
on: { startOutgoingCall: 'waitForAnswer' }, | |
on: { startIncomingCall: 'ringing' } |