Socket
Socket
Sign inDemoInstall

sensor-snap

Package Overview
Dependencies
31
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    sensor-snap

Vue library to generate Sensors Widget with Open Mobile Alliance references as inputs.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
8.88 MB
Created
Weekly downloads
 

Readme

Source

Aloes - sensor-snap

Vue library to generate Sensors Widget with Open Mobile Alliance references as inputs.

  • Demo
  • Docs

Application based on :

Folder structure

  • /. --> Main application configuration, dependencies list, and launch scripts

  • /public --> contains icons, fonts ...

  • /src --> contains source code

  • /. --> VueJS main configuration and boot scripts

  • /components --> sensor components, mounted based on OMA objectId

  • /lib --> built files from external dependencies

  • /styles --> css modules built at SensorSnap mounting

Usage

Directly in the browser

Drop the library in with a <script> tag alongside Vue:

<div id="app">
	<!-- ... use components here ... -->
</div>

<script src="https://unpkg.com/vue"></script>
<script src="https://unpkg.com/sensor-snap"></script>
<script>
	new Vue({el: '#app'});
</script>

In a module system

Install the library with NPM:

npm install sensor-snap

Then import and locally register a single component with:

import SensorSnap from 'sensor-snap';

export default {
	components: {
		'sensor-snap': () => import('sensor-snap'),
	},
};

Project setup

npm install

Compiles and hot-reloads for development

npm run start:dev

Compiles and minifies for production

npm run lib:build

Generate documentation

npm run docs:dev

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

FAQs

Last updated on 06 Sep 2020

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