• Stars
    star
    1,137
  • Rank 40,971 (Top 0.9 %)
  • Language
    JavaScript
  • Created over 8 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

➰ It's never been easier to try nodejs modules!

trymodule Circle CI

A simple cli tool for trying out different nodejs modules.

trymodule demo

Installation

npm install -g trymodule

Usage

trymodule colors

Downloads the module colors if needed, and starts a nodejs REPL with colors loaded in the current scope, ready for you to use.

trymodule colors lodash

Same as above but with many packages in one go!

trymodule colors=c lodash=l

Assign packages to custom variable names.

trymodule --clear

Removes the directory where trymodules stores the node modules. Removes TRYMODULE_PATH + '/node_modules'

Configuration

There are a couple of environment variables you can use to customize trymodule.

TRYMODULE_PATH for setting the path of where modules are stored. By default this is $HOME/.trymodule or $USERPROFILE/.trymodule

TRYMODULE_NONINTERACTIVE for making trymodule not fire up the repl in the end. This is useful if you want to just install some packages for future use. By default this is undefined. Setting it to any value would make trymodule non-interactive.

TRYMODULE_HISTORY_PATH for changing where to save the repl history. Should be pointing to a user write-able file. Defaults to $TRYMODULE_PATH/repl_history

You can set the environment variables for one session with export TRYMODULE_PATH=/usr/bin/trymodule or for just one time by doing TRYMOUDLE_PATH=/usr/bin/trymodule trymodule colors.

Support / Help

If you have any questions, open a Github issue here: github.com/VictorBjelkholm/trymodule/issues/new

or feel free to contact me on Twitter here: @VictorBjelkholm

Inspiration

Inspiration comes from a leiningen plugin called lein-try that allows you to try out clojure libraries without having to declare them in an existing project. Thanks to @rkneufeld for the inspiration!

License

The MIT License (MIT)

Copyright (c) 2016 Victor Bjelkholm

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

ngProgress

⏳ Angular provider for slim loading bar at the top of the page ( inspired by https://github.com/rstacruz/nprogress )
JavaScript
1,485
star
2

autochecker

♻️ Test your libraries in many different versions of NodeJS, Ruby, Java and many other languages
JavaScript
599
star
3

ipfscrape

Scrape pages and store them in IPFS
Shell
267
star
4

ipfsbin

〰 Distribute your code snippets in IPFS
JavaScript
134
star
5

atom-react-preview

♨️ Preview your React components directly in React, with mutable props! [Not maintained]
JavaScript
85
star
6

resort

A experiment with showing live video feeds with IPFS and libp2p
JavaScript
81
star
7

obsidian-wielder

Clojure inside your Obsidian documents!
TypeScript
68
star
8

pincoop

Pin your hashes all over the world
JavaScript
67
star
9

metamorph

Self-editing GPT-4 application
JavaScript
62
star
10

arch-mirror

IPFS mirror of pacman repositories
Shell
34
star
11

ipfschat

Global chat with IPFS
JavaScript
18
star
12

quickwiki

QuickWiki is the quickest wiki ever! Static, extensible and beautiful by default
Go
16
star
13

mullvad-find-fastest-server

Go
15
star
14

gx-js

Immutable Package management for the JavaScript ecosystem using IPFS
JavaScript
15
star
15

ipfs-webpack-plugin

Creates additional webpack assets for loading the assets via IPFS in the browser
JavaScript
10
star
16

tree-talk

A tree in the merkle-forest where you can just hang around and talk
CSS
9
star
17

alpine-mirror

Scripts for mirroring the APKs archives for Alpine-linux and testing it
Shell
8
star
18

magnet-to-ipfs

Go
8
star
19

webpack-node-ipfs-api-demo

Demo of how to use webpack + node-ipfs-api
JavaScript
7
star
20

js-ipfs-in-the-browser

JavaScript
6
star
21

Jitter

Figure out your network Jitter
JavaScript
6
star
22

referendum-2017

Projecte personal per visitar el lloc web de Catalunya Referèndum 2017 a través de l'IPFS
Go
5
star
23

ipfs-events

List of all events in IPFS
4
star
24

figma-shared-plugin-data

List of Figma Plugins and their shared data
4
star
25

ipfs-hack-day-barcelona-october-2017

IPFS Hack Day Barcelona - October 2017
4
star
26

Hoster

Easy manage host files via a CLI
Shell
4
star
27

js-ipfs-passing-data

JavaScript
3
star
28

pine

Vine clone over IPFS
JavaScript
3
star
29

self-editing-website

A P2P website that can edit and replicate itself
JavaScript
3
star
30

dweb.cat

Archive and entrypoint for important Catalan culture and language
HCL
2
star
31

ipfs-api-pubsub-ruby-example

Example with Ruby using go-ipfs HTTP API for pubsub
Ruby
2
star
32

vimrc

Vim Script
2
star
33

ipfs-chat

JavaScript
2
star
34

talk-ideal-foss-service

Talk performed at OPO.js Meetup #9 (June 19th 2019)
HTML
2
star
35

js-ipfs-development-environment

Makes it easy to setup a development environment for developing js-ipfs
Shell
2
star
36

programmer-backup-checklist

What to backup
2
star
37

dweb-wiki

A knowledge base geared towards building and researching a fully distributed web
HTML
2
star
38

cowpen

CLI for publishing immutable NPM packages/NodeJS modules
JavaScript
1
star
39

outside

Outside, a free-to-play MMORPG developed by Deity Games and the most popular game, with 7 billion+ active players
1
star
40

cljfx-graalvm

Trying to get cljfx + graalvm to play nicely
Clojure
1
star
41

github-dead-link-checker

Checks for dead links in Github organizations and repositories
Go
1
star
42

sci-reagent-with-let

Clojure
1
star
43

js-ipfs-docker

JavaScript
1
star
44

sympersister

Tiny local service for making sure symlinks always works
1
star
45

node-on-ipfs

NodeJS downloaded and then served with IPFS
JavaScript
1
star
46

livingthing

Clojure
1
star
47

npm-scripts-exec

npm-scripts-exec is a handy utility to make your life as a nodejs developer easier, by exposing npm scripts as normal shell commands
Shell
1
star
48

crux-site-mock

A redacted clone of the private `crux-site` repo to enable people to preview and contribute to the Crux documentation sections of http://opencrux.com
SCSS
1
star
49

clojulator

Calculator made with Clojurescript + om
Clojure
1
star