1.0.0 • Published 8 years ago

simple-protocol-generator v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

Description

Generate an object with setter / getter functions, and a compare function which is aware of the locally stored value (not null, not empty)

Use only with strings.

Usage

var generator = require('simple-protocol-generator');

var person = new generator([
  'Username',
  'Password',
  'Address'
]);

and then, you can call

person.setUsername('lambda');

or

person.getUsername();
1.0.0

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago