Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

multicast-dns-service-types

Package Overview
Dependencies
0
Maintainers
1
Versions
3
Issues
File Explorer

Advanced tools

multicast-dns-service-types

Parse and stringify mdns service types

    1.1.0latest

Version published
Maintainers
1
Weekly downloads
5,383,584
decreased by-20.36%

Weekly downloads

Readme

Source

multicast-dns-service-types

Parse and stringify mdns service types

npm install multicast-dns-service-types

build status

Usage

var types = require('multicast-dns-service-types') console.log(types.stringify({name: 'http', protocol: 'tcp', subtypes: ['sub1', 'sub2']})) // _http._tcp._sub1._sub2 console.log(types.parse('_http._tcp._sub1._sub2')) // {name: 'http', protocol: 'tcp', subtypes: ['sub1', 'sub2']}

The following shorthands also exist

types.stringify(name, protocol, subtypes) types.tcp(name, subtypes) // set protocol to tcp types.udp(name, subtypes) // set protocol to udp

License

MIT

Keywords

FAQs

What is multicast-dns-service-types?

Parse and stringify mdns service types

Is multicast-dns-service-types popular?

The npm package multicast-dns-service-types receives a total of 4,490,228 weekly downloads. As such, multicast-dns-service-types popularity was classified as popular.

Is multicast-dns-service-types well maintained?

We found that multicast-dns-service-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago.It has 1 open source maintainer collaborating on the project.

Last updated on 12 Apr 2015

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc