quirk
v0.0.4
Published
A helper for setting attributes on an object in advance.
Downloads
13
Readme
Quirk.js
A helper for setting attributes on an object in advance.
import Quirk from "quirk";
const quirk = new Quirk;
quirk.saySomething(); // will output "Something"
Quality and Compatibility
Every build and release is automatically tested on the following platforms:
If your platform is not listed above, you can test your local environment for compatibility by copying and pasting the following commands into your terminal:
npm install quirk
cd node_modules/quirk
gulp test-local
Installation
Copy and paste the following command into your terminal to install Quirk:
npm install quirk --save
Import / Require
// ES6
import quirk from "quirk";
// ES5
var quirk = require("quirk");
// Require.js
define(["require"] , function (require) {
var quirk = require("quirk");
});
Getting Started
More insights
In order to say something, you should know that quirk()
... (add your test here)
How to Contribute
See something that could use improvement? Have a great feature idea? We listen!
You can submit your ideas through our issues system, or make the modifications yourself and submit them to us in the form of a GitHub pull request.
We always aim to be friendly and helpful.
Running Tests
It's easy to run the test suite locally, and highly recommended if you're using Quirk.js on a platform we aren't automatically testing for.
npm test