convert discord.js v12 codes to v13
npm install v12-to-v13
v12-to-v13 --help
const { converter } = require('v12-to-v13').default;
// v12_code param is required
// with_Pretty is optional default is false
// prettier_Options is optional check:
// https://prettier.io/docs/en/api.html
converter(v12_Code, with_Pretty, prettier_Options);
// returns: object of three keys:
// key1: prettied: boolean
// key2: code: string
// key3: convertTime: number (time in ms)
// NOTE: prettied key can be false in some times if the result code have an error
👤 ali dev
- Github: @alighamdan
👤 Pudochu
Contributions, issues and feature requests are welcome!
Feel free to check issues page.
Give a ⭐️ if this project helped you!
This README was generated with ❤️ by readme-md-generator