Socket
Socket
Sign inDemoInstall

pheromon-codecs

Package Overview
Dependencies
61
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    pheromon-codecs

Function to encode data used by pheromon sources


Version published
Maintainers
1
Install size
11.7 MB
Created

Readme

Source

pheromon-codecs

Build Status

Function to encode data used by pheromon sources.

List of available codecs

signalStrengths :

This codec allows to encode measurements matching this pattern :

{
  date: Date(),
  devices:
  [ 
    {
      signal_strength: int,
      std: int // standard deviation (optionnal)
    },
    ...
  ] 
}

It is used in 6sense in order to send a list of devices currently visible.

trajectories :

This codec allows to encode trajectories matching this pattern :

[
  [
    {
      date: Date(),
      signal_strength: int
    },
    ...
  ],
  [
    {
      date: Date(),
      signal_strength: int
    },
    ...
  ],
  ...
]

It is used in 6sense in order to send all trajectories of all devices seen everyday.

License

MIT

FAQs

Last updated on 08 Jun 2017

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