Today we launched the new rewrite of pika.dev, which included a new Package REPL for the package view page. This was just announced on Twitter, but I figured I'd unroll and repost the entire thread here quickly for anyone interested.
You can read our entire release thread including all of todays releases here: https://twitter.com/pikapkg/status/1158765492191911936
What's a Package REPL? Keep reading to find out...
Pika 📦@pikapkg✨ INTRODUCING: The Pika Package REPL
Test packages directly in the browser, without installing anything locally. Perfect for quickly evaluating packages before bringing them into your important projects.
Try it today: pika.dev/packages/path-…16:05 PM - 06 Aug 2019
Pika 📦@pikapkgThis is powered internally by ristretto: a really neat, modular testing library from the Polymer team.
github.com/PolymerLabs/ri…16:05 PM - 06 Aug 2019
Ristretto is an extensible test runner.
Ristretto has the following qualities:
- Simple, concise, class-based factorization
- Consumable as modules with browser-compatible path specifiers OOB
- Batteries included for the most popular testing syntaxes (BDD/TDD)
- Designed for extensibility (mixins, specialized reporters and a spec-as-data-structure philosophy)
- Ships with mixins that enhance specs with powerful features (e.g., fixtures and test isolation)
- Authored in TypeScript
- No build tooling required to use
BONUS: Curious about how a package works after using it in the REPL?