New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

atmosfear

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atmosfear

self hosted serverless mesh infrastructure for actors or functions

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

atmosfear

Self hosted serverless mesh infrastructure for actors or functions

create a folder


sudo npm install atmosfear -g

mkdir ./new_actor

cd ./new_actor

npm install atmosfear --save

nano index.js

index.js


setInterval(function () {
  atmosfear.send('/demo', { a: Math.random() })
}, 4000)

atmosfear.listen('/demo', function (e, data) {
  console.log('> ', data)
})

setTimeout(function () {
  throw new Error('will restart after errors')
}, 17000)

install cli


sudo npm install atmosfear -g

install library


npm install atmosfear --save

example package.json for mesh

Add an atmosfear property in your package.json with the mesh password to automatically form a mesh.


{
  "name": "demo",
  "atmosfear": "78989bae8f66a738d4c0c340d5109aa9917a615e809f2be3c9479108c9898481",
  "dependencies": {
    "atmosfear": "0.0.1"
  }
}

launch an atmosfear function

From inside your folder (see /examples/peerA as an example).


atmosfear

Keywords

actor model

FAQs

Package last updated on 06 Sep 2018

Did you know?

Socket

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