https://github.com/yhdgms1/swagify
"I use it every day." - Connor, 12, 420th prestige on BLOPS2
https://github.com/yhdgms1/swagify
deno
Last synced: 28 days ago
JSON representation
"I use it every day." - Connor, 12, 420th prestige on BLOPS2
- Host: GitHub
- URL: https://github.com/yhdgms1/swagify
- Owner: yhdgms1
- Created: 2021-04-04T14:59:00.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T13:13:31.000Z (almost 5 years ago)
- Last Synced: 2026-03-08T06:57:43.081Z (4 months ago)
- Topics: deno
- Language: TypeScript
- Homepage: https://github.com/defaultnamehere/swagify
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Swagify
"I use it every day." - Connor, 12, 420th prestige on BLOPS2
_Author: [GitHub](https://github.com/defaultnamehere)_ _Repo:
[GitHub](https://github.com/defaultnamehere/swagify)_
## Usage
```ts
import { swagify } from "https://deno.land/x/swagify/mod.ts";
console.log(swagify("Username to swagify"));
```
## Config (This is optional)
| Props | Type | Default |
| ------------------- | -------- | ------- |
| upperCaseChance | `number` | 0.5 |
| letterReplaceChance | `number` | 0.8 |
| tripleChance | `number` | 0.1 |
| maxTags | `number` | 3 |
## Example
```ts
const name = swagify("Artemiy", {
upperCaseChance: 0,
letterReplaceChance: 1,
tripleChance: 0,
maxTags: 200,
});
console.log(name);
```
## Node
```bash
npm i @artemis69/swagify
```
```ts
import { swagify } from "@artemis69/swagify";
console.log(swagify("Username to swagify"));
```