2.0.0 • Published 2 years ago

sign-language-translator v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

sign-language-translator

A library to translate letters to corresponding images of sign language

Install

  • Install the package
    npm install sign-language-translator

How To Use

 // import the package
const { getImageFromLetter, getImagesFromText } = require('sign-language-translator');

const image = getImageFromLetter('M');
console.log(image); // the output will be https://drive.google.com/uc?id=1QcfqnBAsuptsmOb4KWE4dlVtFiX9xlT6

const images = getImagesFromText('Text');
console.log(images);
/**
the output will be an array of image links
[
  'https://drive.google.com/uc?id=1a1qhqKVCETSqNpVd_PNAQE-d5kxp_A1r',
  'https://drive.google.com/uc?id=1_PaPLmf9HQromvTmTXR_EcAuKJ2RyGG0',
  'https://drive.google.com/uc?id=1CTnIjREtXAYKSp33pjxM0qyGciQe_0l2',
  'https://drive.google.com/uc?id=1a1qhqKVCETSqNpVd_PNAQE-d5kxp_A1r'
]
*/

Note: the image will be like this.

Reference