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

tmi.js

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tmi.js

Javascript library for the Twitch Messaging Interface.

  • 1.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6K
increased by15.01%
Maintainers
1
Weekly downloads
 
Created
Source

tmi.js

Build Status Downloads Npm Version Node Version Issues

The best place to start with tmi.js is our documentation page.

This module currently support Node.js 4.x and every browser that support WebSockets. The current WebSocket protocol being used by this module is HyBi drafts 13-17.

Install

Node

Install Node using this tutorial. Once installed, jump to the documentation to get started.

npm i tmi.js --save
CDN provided by MaxCDN

Reference the file directly in the script tag.

We support Subresource Integrity (SRI) which allows the browser to verify that the files being delivered have not been modified. This https://www.w3.org/TR/SRI/ is currently being implemented by browsers. Adding the new integrity attribute will ensure your application gains this security improvement as browsers support it.

Use Subresource Integrity only if you reference a specific version of tmi.js.

<!--Sourcemap: //cdn.tmijs.org/js/1.0.0/tmi.js.map-->
<script src="//cdn.tmijs.org/js/1.0.0/tmi.min.js" integrity="sha384-Z6gQXNcrPFBPEYnSqJd2eZKgkOmODqdN4am+REbZQ2onKMtOJEKssUQr1ht5jlN8" crossorigin="anonymous"></script>

You must provide the major version when using the latest branch.

<!--Sourcemap: //cdn.tmijs.org/js/latest/1.x/tmi.js.map-->
<script src="//cdn.tmijs.org/js/latest/1.x/tmi.min.js"></script>

Community

Contributors

In order of the most commits:

Contributing guidelines

Please review the guidelines for contributing of the tmi.js repository. We reserve the right to refuse a Pull Request if it does not meet the requirements.

Keywords

FAQs

Package last updated on 28 Jun 2016

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