un-oj
TypeScript icon, indicating that this package has built-in type declarations

0.3.2 • Public • Published

UnOJ

JSR

Unified information collector of online competitive programming platforms.

Usage

Install un-oj from NPM, or @un-oj/core from JSR.

import Codeforces from '@un-oj/core/platforms/codeforces'; // If installed from JSR
// import Codeforces from 'un-oj/platforms/codeforces'; // If installed from NPM

const cf = new Codeforces();
console.log(await cf.getProblem('1A'));

Currently supported platforms:

Documents are available on JSR.

Compataility

UnOJ uses internal APIs, or parses HTML from some OJ, which may be changed at any time. If you encountered any problems, feel free to open an issue.

Acknowledgements

Package Sidebar

Install

npm i un-oj

Weekly Downloads

22

Version

0.3.2

License

MIT

Unpacked Size

36 kB

Total Files

23

Last publish

Collaborators

  • typed-sigterm