New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

repl-it

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

repl-it

Loads all the packages in your package.json and creates a repl for you

  • 2.3.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

repl-it

Creates a repl in the current directory with all the packages listed in devDependencies and dependencies loaded into the local context. Uses pkginfo to determine the root of your project.

io.js REPL features

  • Command line history -- If you're using io.js version 1 or higher you have access to persistant command-line history (enabled by default). To disable use --no-history.
  • "MAGIC" mode -- If you're in io.js 2 or higher, defaults to magic, which will automatically run "strict mode only" statements in strict mode. To disable use --no-magic.

Usage

~/src/awesome-node-project> cat package.json
{
  "name": "repl-it",
  "version": "1.0.1",
  "description": "Loads all the packages in your package.json and creates a repl for you",
  "main": "index.js",
  "scripts": {
    "test": "tap test/*spec.js"
  },
  "bin": {
    "repl-it": "./index.js"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/toddself/repl-it"
  },
  "keywords": [
    "repl"
  ],
  "author": "Todd Kennedy <todd@selfassembled.org>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/toddself/repl-it/issues"
  },
  "homepage": "https://github.com/toddself/repl-it",
  "dependencies": {
    "camel-case": "^1.0.2",
    "pkginfo": "^0.3.0",
    "xtend": "^4.0.0"
  }
}
~/src/repl-it> repl-it
repl-it> typeof xtend
'function'
repl-it> typeof camelCase
'function'
repl-it> ^D
~/src/repl-it> cd test
~/src/repl-it/test> repl-it
repl-it> typeof camelCase
'function'

Packages are automatically camelcased for you.

~/src/awesome-node-project> repl-it
repl-it> typeof camelCase
'function'
repl-it>

Installation

npm i -g repl-it

Tests

None yet. Probably not ever. Eh.

Contributors

  • Eugene Sharygin (eush77)
  • Evan Senter (evansenter)

License

MIT. © 2014 Todd Kennedy

Keywords

FAQs

Package last updated on 31 May 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc