Created
May 27, 2012 01:23
-
-
Save robbles/2795807 to your computer and use it in GitHub Desktop.
Rlwrap completion for node.js / JavaScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require | |
global | |
process | |
console | |
log | |
error | |
warning | |
Buffer | |
__filename | |
__dirname | |
module | |
exports | |
setTimeout | |
clearTimeout | |
setInterval | |
clearInterval | |
process | |
break | |
case | |
catch | |
continue | |
debugger | |
default | |
delete | |
do | |
else | |
finally | |
for | |
function | |
if | |
in | |
instanceof | |
new | |
return | |
switch | |
this | |
throw | |
try | |
typeof | |
var | |
void | |
while | |
with | |
prototype | |
__proto__ | |
constructor | |
hasOwnProperty | |
isPrototypeOf | |
propertyIsEnumerable | |
toLocaleString | |
toString | |
valueOf | |
Math | |
E | |
LN2 | |
LN10 | |
LOG2E | |
LOG10E | |
PI | |
SQRT1_2 | |
SQRT2 | |
abs | |
acos | |
asin | |
atan | |
atan2 | |
ceil | |
cos | |
exp | |
floor | |
log | |
max | |
min | |
pow | |
random | |
round | |
sin | |
sqrt | |
tan | |
String | |
anchor | |
big | |
blink | |
bold | |
charAt | |
charCodeAt | |
concat | |
constructor | |
fixed | |
fontcolor | |
fontsize | |
indexOf | |
italics | |
lastIndexOf | |
length | |
link | |
localeCompare | |
match | |
replace | |
search | |
slice | |
small | |
split | |
strike | |
sub | |
substr | |
substring | |
sup | |
toLocaleLowerCase | |
toLocaleUpperCase | |
toLowerCase | |
toString | |
toUpperCase | |
trim | |
trimLeft | |
trimRight | |
utf8 | |
utf8ToCodepoint | |
utf8ToString | |
utf8URL | |
valueOf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Use with something like this:
rlwrap -p Green -S "node >>> " -r --always-readline -f js_completions node
You can make an alias for node:
alias inode='rlwrap -p Green -S "node >>> " -r --always-readline -f js_completions node'