GithubHelp home page GithubHelp logo

Faker about binarytree HOT 3 CLOSED

lifeparticle avatar lifeparticle commented on August 13, 2024
Faker

from binarytree.

Comments (3)

lifeparticle avatar lifeparticle commented on August 13, 2024

https://dangoldin.github.io/js-tools/#tab-sql-data

from binarytree.

lifeparticle avatar lifeparticle commented on August 13, 2024

https://fakerjs.dev/api/

let res = [];
let apis = [...document.querySelectorAll("a[data-v-4209966a")].map((api) => {
    res.push(api.innerHTML);   
})
console.log(JSON.stringify(res))

from binarytree.

lifeparticle avatar lifeparticle commented on August 13, 2024
let res = [
"buildingNumber",
"cardinalDirection",
"city",
"cityName",
"cityPrefix",
"citySuffix",
"country",
"countryCode",
"county",
"direction",
"latitude",
"longitude",
"nearbyGPSCoordinate",
"ordinalDirection",
"secondaryAddress",
"state",
"stateAbbr",
"street",
"streetAddress",
"streetName",
"streetPrefix",
"streetSuffix",
"timeZone",
"zipCode",
"zipCodeByState",
"bear",
"bird",
"cat",
"cetacean",
"cow",
"crocodilia",
"dog",
"fish",
"horse",
"insect",
"lion",
"rabbit",
"rodent",
"snake",
"type",
"cmyk",
"colorByCSSColorSpace",
"cssSupportedFunction",
"cssSupportedSpace",
"hsl",
"human",
"hwb",
"lab",
"lch",
"rgb",
"space",
"color",
"department",
"price",
"product",
"productAdjective",
"productDescription",
"productMaterial",
"productName",
"bs",
"bsAdjective",
"bsBuzz",
"bsNoun",
"catchPhrase",
"catchPhraseAdjective",
"catchPhraseDescriptor",
"catchPhraseNoun",
"companyName",
"companySuffix",
"name",
"suffixes",
"collation",
"column",
"engine",
"mongodbObjectId",
"type",
"array",
"bigInt",
"boolean",
"datetime",
"float",
"hexadecimal",
"json",
"number",
"string",
"uuid",
"between",
"betweens",
"birthdate",
"future",
"month",
"past",
"recent",
"soon",
"weekday",
"fake",
"account",
"accountName",
"amount",
"bic",
"bitcoinAddress",
"creditCardCVV",
"creditCardIssuer",
"creditCardNumber",
"currencyCode",
"currencyName",
"currencySymbol",
"ethereumAddress",
"iban",
"litecoinAddress",
"mask",
"pin",
"routingNumber",
"transactionDescription",
"transactionType",
"branch",
"commitEntry",
"commitMessage",
"commitSha",
"shortSha",
"abbreviation",
"adjective",
"ingverb",
"noun",
"phrase",
"verb",
"arrayElement",
"arrayElements",
"fake",
"maybe",
"mustache",
"objectKey",
"objectValue",
"regexpStyleStringParse",
"repeatString",
"replaceCreditCardSymbols",
"replaceSymbolWithNumber",
"replaceSymbols",
"shuffle",
"slugify",
"unique",
"uniqueArray",
"abstract",
"animals",
"avatar",
"business",
"cats",
"city",
"dataUri",
"fashion",
"food",
"image",
"imageUrl",
"nature",
"nightlife",
"people",
"sports",
"technics",
"transport",
"avatar",
"color",
"domainName",
"domainSuffix",
"domainWord",
"email",
"emoji",
"exampleEmail",
"httpMethod",
"httpStatusCode",
"ip",
"ipv4",
"ipv6",
"mac",
"password",
"port",
"protocol",
"url",
"userAgent",
"userName",
"lines",
"paragraph",
"paragraphs",
"sentence",
"sentences",
"slug",
"text",
"word",
"words",
"rand",
"seed",
"seed_array",
"genre",
"songName",
"findName",
"firstName",
"fullName",
"gender",
"jobArea",
"jobDescriptor",
"jobTitle",
"jobType",
"lastName",
"middleName",
"prefix",
"sex",
"sexType",
"suffix",
"imei",
"number",
"phoneFormats",
"phoneNumber",
"phoneNumberFormat",
"alpha",
"alphaNumeric",
"locale",
"numeric",
"word",
"words",
"chemicalElement",
"unit",
"commonFileExt",
"commonFileName",
"commonFileType",
"cron",
"directoryPath",
"fileExt",
"fileName",
"filePath",
"fileType",
"mimeType",
"networkInterface",
"semver",
"unique",
"bicycle",
"color",
"fuel",
"manufacturer",
"model",
"type",
"vehicle",
"vin",
"vrm",
"adjective",
"adverb",
"conjunction",
"interjection",
"noun",
"preposition",
"verb",
]

let lables = [];
res.map((api) => {
    let words = api.split(/(?=[A-Z])/);
    console.log(words);
    words[0] = words[0].charAt(0).toUpperCase() +
       words[0].substr(1).toLowerCase();
    lables.push(words.join(" "));
})

console.log(JSON.stringify(lables));

from binarytree.

Related Issues (20)

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.