npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

cses-cli

v4.1.1

Published

[![npm](https://img.shields.io/npm/v/cses-cli)](https://www.npmjs.com/package/cses-cli)

Downloads

9

Readme

npm

CSES problem set command-line interface

Installation

Install cses-cli via npm

npm i -g cses-cli

or yarn

yarn add --global cses-cli

Setup

Login

Run cses login to save credentials locally

Use same username and password as cses.fi

Setup

Run cses setup to set up default settings used for testing and submitting problems

The table below contains some common configurations used by cses (view more details here)

Language (option)| Submission file| Compile Step | Run step | Version ------------ | ------------- | ------------- | ------------- | ------------- Assembly | main.asm | nasm -f elf main.asm && gcc main.o| ./a.out | NASM 2.13.02 C++ (C++11) | main.cpp| g++ -std=c++11 -O2 -Wall main.cpp| ./a.out | g++ 7.5.0 C++ (C++17) | main.cpp| g++ -std=c++17 -O2 -Wall main.cpp| ./a.out |g++ 7.5.0 Haskell |main.hs| ghc main.hs | ./main | GHC 8.10.4 Java |main.java| javac main.java | java main | Java 11.0.10 Node.js |main.js| N/A | node main.js | Node.js 8.10.0 Pascal |main.pp| N/A | fpc main.pp -O2 | FPC 3.0.4 Python 2 (CPython2) | main.py | N/A | python2 main.py|CPython 2.7.17 Python 2 (Pypy2) | main.py | N/A | pypy main.py|PyPy 2.7.18 Python 3 (CPython3) | main.py | N/A | python3 main.py|CPython 3.6.9 Python 3 (Pypy3) | main.py | N/A | pypy3 main.py|PyPy 3.7.10 Ruby | main.rb | N/A | ruby main.rb|ruby 2.5.1 Rust | main.rs |rustc main.rs|./main| rustc 1.47.0|

Usage

$ cses
Usage: index [options] [command]

Options:
  -h, --help      display help for command

Commands:
  login           store cses username and password for login
  select          set current cses problem
  setup           setup cses submission config
  status          check cses profile status
  submit          submit cses problem
  test [id]       run test case against active problem
  help [command]  display help for command