Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mamba/pos

Package Overview
Dependencies
Maintainers
3
Versions
216
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mamba/pos

Mamba web environment wrapper and simulator

  • 1.0.0-prealpha.12
  • npm
  • Socket score

Version published
Weekly downloads
36
decreased by-55%
Maintainers
3
Weekly downloads
 
Created
Source

@mamba/pos

Simulator

For mamba apps to be able to run on a common browser, you must simulate the real POS environment.

  • Just the import is enough to create the simulated environment.
/** Boot the Mamba simulator */
import '@mamba/pos/simulator/index.js';
  • However, you can also initialize the digital POS component, which will be the container for your mamba app when running on a browser. A store must be passed to the component.
import '@mamba/pos/simulator/index.js';
import POS from '@mamba/pos/simulator/view.js';
import store from './store.js';

/** Initialize the digital POS component */
new POS({ target: document.body, store });

It's obligatory to include the entry file which starts the simulator before the app.

FAQs

Package last updated on 18 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

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