1.0.4 • Published 5 years ago

estreck-fetch v1.0.4

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

Estreck

Estreck is a Base Code Extractor which you can get a base/basic code to use in your application. Estreck is made in JavaScript, using Node.js and Express, and uses the mongoose database to store all the codes, using the Levenshtein algorithm among other search functions we can know exactly what code you are referring to 99.9% of the time.

Using Package

At the moment, package has 4 avaliable functions, here down how to use them

getCodes

const estreck = require("estreck-fetch");

async function getCodes(){
    let codes = await estreck.getCodes();
    let code = codes[0];
    console.log(code);
}
//This will return an array of objects / Verified codes

//Verificated codes = codes that would work perfectly in your project

getUnverifiedCodes

const estreck = require("estreck-fetch");

async function getUnverifiedCodes(){
    let codes = await estreck.getUnverifiedCodes();
    let code = codes[0];
    console.log(code);
}
//This will return an array of objects / Unverified codes

//Unverified codes = codes that could include malicious code or it has not been accepted by Estreck

fetchCode

const estreck = require("estreck-fetch");

async function fetchCode(){
    let toSearch = "Random";
    let codes = await estreck.fetchCode(toSearch);
    let code = codes[0]:
    console.log(code);
}

addCode

const estreck = require("estreck-fetch");

console.log(estreck.addCode());
1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago