JSPM

probot-tax-c

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • 0
    • Score
      100M100P100Q22096F
    • License ISC

    Simple package to calculate probot tax

    Package Exports

    • probot-tax-c

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (probot-tax-c) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Hello in my first package

    this package made for probot tax

    How to install?

    npm i probot-tax-c

    How To Use

    Example in discord.js

    const tax = require("probot-tax-c");
    client.on("message", message => {
        if(message.content.startsWith(prefix + 'tax')) {
            const args = message.content.split(' ').slice(1)
            if(!args) return message.channel.send(`Invaild Args.`)
            if(isNaN(args)) return message.channel.send(`Not A Number.`)
            message.channel.send(tax.calc(args))
        }
    })