Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

tennu-conversion

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tennu-conversion

A plugin for the tennu IRC framework, allows the bot to perform unit conversions.

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

tennu-conversion

A plugin for the tennu irc framework.

Allows the bot to perform unit conversions.

Driven by js-quanitites.

Getting information on what you can work with

  • To see all the kinds of supported coversions do !con kinds
  • To see all units of a specific kind do !con units <kind> IE: !con units force
  • To see all aliases of a specific unit do !con aliases <unit> IE: !con aliases m

Conversions

This is the meat and bones of the plugin.

  • Usage: !con <qty> to <unit> IE: !con 10 feet to meters

Comparisons

  • Usage: !con <qty> compare-gt <qty> IE: !con 14 feet compare-gt 3 meters = true
  • You can use these:
    • "eq"
    • "same"
    • "lt"
    • "lte"
    • "gt"
    • "gte"

Extras

base values

  • Usage: !con <qty> inverse IE: 100 m/s inverse = 0.01 s/m inversions
  • Usage: !con <qty> tobase IE: 10 cm base = 0.1 m

Installing Into Tennu

See Downloadable Plugins here.

FAQs

Package last updated on 04 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