0.1.3 • Published 9 months ago

@xppkp/boost v0.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Boost - Coding Speed Booster for NodeJS

This project aims to boost the coding speed in NodeJS. It's developed for competitive programming and is still under development.

Install

To install this package, you can run this in your shell:

npm install @xppkp/boost 
# You can also run
npm install https://github.com/XiaoPanPanKevinPan/boost

Import

After installing, you can write this in your script:

import * as boost from "boost";

To prevent verbose importing, you can use the shorthand:

import * as boost from "boost";
const { scanf, EOF, ps, print, printl } = await boost.shorthand();

Usage

The best usage is:

import * as boost from "@xppkp/boost"
const { scanf, printl, lsClose, lsIsEof } = await boost.shorthand();
while(!lsIsEof()) {
	const [x, y] = await scanf("%d %d");
	printl(`${x} + ${y} = ${x + y}`);
}
lsClose();

For more, see this.

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago