{"repo":"luin/npm-try","free":true,"listed":false,"github":"https://github.com/luin/npm-try","clone":"git clone https://github.com/luin/npm-try.git","description":"🚆 Quickly try npm packages without writing boilerplate code.","language":"TypeScript","stars":115,"topics":["npm","try","package","cli","tool"],"license":null,"category":"cli-tools","readme_excerpt":"npm-try 🚆 Quickly try npm packages without writing boilerplate code. npm-try provides a REPL interface for you to try NPM packages without writing any boilerplate code. Simply run npm-try [packages ..] anywhere on the shell and npm-try will show a REPL interface which has all packages installed and assigned to variables. Features Super easy to use! npm-try even defines variables for you Top-level await support (requires Node.js = 10) Install Examples Wanna try the capitalize method of lodash package? Would like to try multiple packages at the same time? A previous version? You can specify versions with @ symbol (Missing the old days when the pluck still exists).: Asynchronous operations? await is supported out-of-the-box. Let's try ioredis: Create a Project REPL is not enough sometimes when you want to write more code to test with packages. npm-try offers --out-dir / -o option to create a self-contained project so you can write your test code at the drop of a hat. Limitations Testing multiple versions of the same package is not supported. The following command will only have lodash@3 provided: License MIT","default_branch":null,"files":null,"tree":[],"storefront":"/r/luin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/luin/npm-try/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}