@panda-clouds/chat

0.2.0 • Public • Published
========= maintained by [PandaClouds.com](https://pandaclouds.com)

<PCName> provides a clean way to .

Installation

  1. If you want to use this library, you first need to install the Node.js.

  2. When you install node.js, will also be installed npm.

  3. Please run the following command.

npm install --save @panda-clouds/<panda-blank>

Usage

Node.js

const <PCName> = require('@panda-clouds/<panda-blank>');

// example usage

You can replace with any variable.

Methods

Unit Tests are an additional resource for learning functionality.

- mustExist()

requires the property to be set, else throws error

Example:

Parse.Cloud.beforeSave('Book', request =>{
	const data = new <PCName>(request);
	data.prop('title').mustExist();    // will throw Error if request.object.get('title') doesn't exist
});

Contributions

Pull requests are welcome! here is a checklist to speed things up:

  • modify <PCName>.js
  • add unit tests in <PCName>.spec.js
  • run npm test
  • document method in README.md
  • add your name to 'Contributors' in README.md

Contributors

(Add your name)

Readme

Keywords

none

Package Sidebar

Install

npm i @panda-clouds/chat

Weekly Downloads

1

Version

0.2.0

License

MIT

Unpacked Size

45.3 kB

Total Files

18

Last publish

Collaborators

  • mrmarcsmith