1.0.2 • Published 4 years ago

nocamel v1.0.2

Weekly downloads
8
License
ISC
Repository
github
Last release
4 years ago

nocamel.js

Introduction

This was a project that started because there's no choice in language grammar for the end user. The intent of this project is to offer non-camelCase aliases for all Javascript and Node.js object methods, instance methods, prototype methods, object properties, and globals. I love Javascript and Node.js, but hate camelCase, and with this library, I am happy again. This is a work in progress.

npm.io

Installation

npm install nocamel

Include (preferably line 1 of your script or the entry point to your application)

require('nocamel');

Use

// built-in prototype aliases!
[1,2,3].for_each(num => {
    console.log(num);
});

// built-in object method aliases!
Array.is_array([]); // true

// built-in global function aliases!
is_nan(NaN); // true

// node module aliases!
const fs = require('fs');
fs.read_file('a.txt', (err, data) => {
    console.log(data.to_string());
});
1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.0.6

7 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago