{"name":"najax","description":"light, fast, jquery-ajax-stye serverside requests","version":"0.1.3","homepage":"https://github.com/alanclarke/najax","author":{"name":"Alan Clarke","email":"self@alz.so","url":"alz.so"},"repository":{"type":"git","url":"git@github.com:alanclarke/najax.git"},"bugs":{"url":"https://github.com/alanclarke/najax/issues"},"licenses":[{"type":"MIT","url":"https://github.com/alanclarke/najax/blob/master/LICENSE-MIT"}],"main":"lib/najax","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt":"~0.3.11"},"keywords":[],"dependencies":{"underscore":">=1.3.3","jquery-deferred":">=0.2.0"},"_id":"najax@0.1.3","dist":{"shasum":"2c5f213f3f47355992dfcfebf3af2768a5f4513f","tarball":"http://registry-npm.ywwl.com/najax/download/najax-0.1.3.tgz","integrity":"sha512-4KJqF3FA8zedviGeEKbyxkaqt8cQy9yvK3B5JeXIj31LuKzBcO0/eXJzZixXPb9B/pqhdZn4a2HDSsq6GmyhkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGvPbtPC++ZFxwbwl/m1f10d3tz0d0I+NnHpfWuh2VMnAiBp8uHPD4GT1kv3aqlGTQyxQqdsMMCUcr+PIH6g7HsIpQ=="}],"size":4560,"noattachment":false,"key":"/najax/-/najax-0.1.03.tgz"},"maintainers":[{"name":"alz","email":"self@alz.so"}],"directories":{},"readme":"# najax\n\n[![Travis CI](https://travis-ci.org/najaxjs/najax.svg?branch=master)](https://travis-ci.org/najaxjs/najax)\n[![Dependency Status](https://david-dm.org/najaxjs/najax.svg)](https://david-dm.org/najaxjs/najax)\n[![devDependency Status](https://david-dm.org/najaxjs/najax/dev-status.svg)](https://david-dm.org/najaxjs/najax#info=devDependencies)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\n\njQuery ajax-stye http requests in node\n\njQuery ajax is stupid simple. This project provides a lightweight wrapper for the nodejs http request object that enables jquery ajax style syntax when making serverside requests to other webpages in node.js\n\nIn addition to najax.get, , handles ssl and makes some reasonable assumptions based on inputs and everything can be overridden by passing an options object.\n\n## Getting Started\nInstall the module with: `npm install najax`\n\n```javascript\nvar najax = $ = require('najax')\n$.get('http://www.google.com', callback)\nnajax('http://www.google.com', { type: 'POST' }, callback)\nnajax({ url: 'http://www.google.com', type: 'POST', success: callback })\nnajax({ url: 'http://www.google.com', type: 'POST' })\n  .success(callback)\n  .error(errorHandler)\n\n$.get, $.post, $.put, $.delete...\n```\n\n## Run unit tests\n- npm install && npm test\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [standardjs](https://github.com/feross/standard).\n","publish_time":1344440634131,"_cnpm_publish_time":1344440634131,"dist-tags":{"latest":"1.0.7"}}