{"name":"najax","description":"jquery ajax-stye http requests in node","version":"0.3.1","homepage":"https://github.com/alanclarke/najax","author":{"name":"Alan Clarke","email":"self@alz.so","url":"alz.so"},"contributors":[{"name":"doublerebel"},{"name":"philschatz"},{"name":"rhildred"},{"name":"mar-tino"},{"name":"mixu"}],"repository":{"type":"git","url":"git+ssh://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":"istanbul cover node_modules/.bin/_mocha && standard"},"devDependencies":{"chai":"^3.4.1","getport":"^0.1.0","istanbul":"^0.4.1","mocha":"^2.3.4","nock":"^3.3.2","standard":"^5.4.1"},"keywords":[],"dependencies":{"jquery-deferred":"^0.3.0","lodash":"^3.10.1"},"directories":{"test":"test"},"license":"MIT","gitHead":"aab54ddcc50f833a2c40b2a3c9d3bd8b22795c48","_id":"najax@0.3.1","_shasum":"8f685eb2519052a13dd793d9383313082276b9e1","_from":".","_npmVersion":"2.14.3","_nodeVersion":"4.1.0","_npmUser":{"name":"alz","email":"self@alz.so"},"dist":{"shasum":"8f685eb2519052a13dd793d9383313082276b9e1","tarball":"http://registry-npm.ywwl.com/najax/download/najax-0.3.1.tgz","integrity":"sha512-PF0MDf3tq9P6MsXNz+XqfGvHmfaaS83LUAr1aQNN71QzZW84k06dGHfM5gXreLWF6S03Tkx14ghtSoP9PBWrkg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICvRf2dJz3jcdOh/jYF39QeES7kIK9XsLjPrFE1Qw+2OAiEAlQmrtx+kpjY1SYIinLwOuUB4y7eRK/uxTRh8Mn5xN9w="}],"size":23988,"noattachment":false,"key":"/najax/-/najax-0.3.1.tgz"},"maintainers":[{"name":"alz","email":"self@alz.so"},{"name":"doublerebel","email":"charles@doublerebel.com"}],"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":1448577968047,"_cnpm_publish_time":1448577968047,"dist-tags":{"latest":"1.0.7"}}