Nice Pottery Mug

    definery

    5.0.7 • Public • Published

    Why Definery?

    Definery is a simple package to define your node js functions and improve your codes.

    Installation

    npm i definery
    

    NOTE: Yarn manager is not supported yet.

    Required

    node.js @16 or higher, some functions from your own create, optional: [You can use some API for your own use],

    Usage

    const Definery = require("definery");
    
    Definery.definer(console.log("Hello world!"));

    Another usage

    const Definery = require("definery");
    
    definer = Definery.definer;
    
    definer(console.log("Hello world!"));

    Returned JSON value

    {
        "function" {
            "name": "Your function name will displays over here in our API JSON file",
            "usedDefiner": "true",
            "usedGetFunction": "null",
            "functionType": "Your function name will displays over here in our API JSON file",
            "string": "null",
            "number": "null",
            "function": "null",
            "asyncFunction": "null",
            "NoAsyncOrFunction": "null",
            "array": "null",
            "args": "instead of 1(minimum) to Infinity args value[Args will displays in this array]"
        }
    }

    Helpful info

    You can't get the info of returned JSON value, and the only one way to get them is to use some exporter to get them as console primare value content or JSON value type.

    Required Node js version is v16.6.0 or higher

    Install

    npm i definery

    DownloadsWeekly Downloads

    11

    Version

    5.0.7

    License

    ISC

    Unpacked Size

    2.78 kB

    Total Files

    4

    Last publish

    Collaborators

    • !ekot