Socket
Socket
Sign inDemoInstall

gitter-markdown-processor

Package Overview
Dependencies
25
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitter-markdown-processor

parses gitter chat messages, but in its own process


Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
4
Created
Weekly downloads
 

Readme

Source

gitter-markdown-processor

Processes Gitter markdown messages and returns html with metadata.

var processor = new Processor();

processor.process('Can someone look at #12?', function(err, result) {
  console.log(result);
  /*
   * {
   *   html: 'Can someone look at <span data-link-type="issue" data-issue="12" class="issue">#12</span>?',
   *   urls: [],
   *   mentions: [],
   *   issues: [ { number: '12' } ]
   * }
   */
});

processor.shutdown(function(err) {
  if(err) console.error('Uh oh, you should check for leftover processes', err);
});

Versioning

In order to make versioning of messages easier, any change to the output of processor.process() is a breaking change. This means that under semver, we will release a new major version.

Its also why the first public release of this module is version 7.0.0.

Keywords

FAQs

Last updated on 15 Dec 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc