supeffective / koffing Goto Github PK
View Code? Open in Web Editor NEWOnline Pokémon Showdown Team parser that converts your competitive strategies to machine-readable JSON code.
Home Page: https://itsjavi.com/koffing/
License: MIT License
Online Pokémon Showdown Team parser that converts your competitive strategies to machine-readable JSON code.
Home Page: https://itsjavi.com/koffing/
License: MIT License
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are pending. To force PRs open, click the checkbox below.
@typescript-eslint/eslint-plugin
, @typescript-eslint/parser
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/test.yml
actions/checkout v3
pnpm/action-setup v2
actions/setup-node v3
package.json
husky ^8.0.3
turbo ^1.10.12
node >=18.5.0
pnpm 8.6.12
packages/koffing-pages/package.json
@types/node 20.4.8
@types/react 18.2.19
@types/react-dom 18.2.7
eslint 8.46.0
eslint-config-next 13.4.13
next 13.4.13
react 18.2.0
react-dom 18.2.0
typescript 5.1.6
packages/koffing/package.json
@types/jest ^29.5.3
@types/node ^20.4.7
jest ^29.6.2
ts-jest ^29.1.1
tsup ^7.2.0
typescript ^5.1.6
packages/preset-eslint/package.json
@typescript-eslint/eslint-plugin ^6.2.1
@typescript-eslint/parser ^6.2.1
eslint ^8.46.0
eslint-config-prettier ^9.0.0
eslint-config-turbo ^1.10.12
packages/preset-prettier/package.json
prettier ^3.0.1
packages/preset-ts/package.json
typescript 5.1.6
when importing the library with require()
node complains with: ReferenceError: window is not defined
it might be related to this Webpack 4 issue webpack/webpack#6525, because we are using UMD already...
Add basic test coverage using Jest
Detect JSON in the input and convert to Showdown
nice to have in the future:
Just to give an idea of the info distribution:
Initially we can even do it text-only.
The idea is to give the possibility to create a nice team view for capturing it and sharing in social media, forums, etc. But I think it may be an entire project itself.
We can even consider moving the /docs
to a koffing-online
project.
The parser script is still in an initial prototype state,
consider refactor it so the code is more efficient, reusable and legible.
right now the toString of the Pokemon class is incomplete
Team -> PokemonTeam
Set -> PokemonTeamSet
Can you do a release/tag please ?
Add links to the Showdown simulator so people finding the library will know better what is it about
Hello, will you update this parser with Teracrystalisation ?
Create an executable node file (#!/usr/bin/env node
) that supports one argument as the showdown text and prints the JSON representation of it.
Also provide a way to do the opposite.
the parser is slightly incompatible with original :
For reference, take a look at the original implementation: https://github.com/smogon/pokemon-showdown-client/blob/fbe9c2d/js/storage.js#L1099
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.