Coder Social home page Coder Social logo

dimdam-s's Introduction

Dimdam's

Dimdam's is a module for NodeJs and mainly for Discord.js. It has several functions like a translator or a loader.

For installe the package :

npm i dimdams

for user the translator :

const { translator } = require("dimdams")

translator("text", {to: "en"})

you must change text to your text and en to the abbreviation of the language you want to translate your text into.

For use the loader :

const { loader } = require("dimdams")

loader(client, "path")

You must change client to your client and path to the path of the folder to load. You will then have a tree of your folder that loads.

Screenshots

loader

๐Ÿš€ About Me

I'm a full stack developer...

Authors

๐Ÿ”— Links

discord

dimdam-s's People

Stargazers

Shinetsu_Ruwin avatar Benladamm avatar

Watchers

Benladamm avatar

dimdam-s's Issues

add cache to translator

Added a caching system to the translator which allows it to respond almost instantly to requests already made. For example, you ask him to translate the text "I am a text", the first time it will send a request to the API then save the response in the cache, and if you redo the same translation instead of asking the API it will answer you with the data of the cache which takes around ~50 milliseconds instead of ~350 milliseconds which is much faster and more efficient.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.