<commit_before>apic.js  REST API JavaScript Client Generator
=======

about
-----
Describe your REST API using WADL <http://www.w3.org/Submission/wadl/> and get complete JavaScript client.

Current early version is a CommonJS module (RequireJS compatible) with jquery dependency.<commit_msg>Added bin description<commit_after>#apic.js  REST API JavaScript Client Generator

##About
Describe your REST API using [WADL](http://www.w3.org/Submission/wadl/) and get complete JavaScript client.

Current early version is a CommonJS module (RequireJS compatible) with jquery dependency.

##Installation

	npm install apic.js

##Usage
Convert your WADL spec to javascript module

	apic -w your.wadl -o descriptor.js
	
Create your api module

	var apic = require('apic'),
	    descriptior = require('./descriptor');
		
	return apic(descriptor);
{'fraction_non_alphanumeric': 0.09449760765550239, 'fraction_numerical': 0.0023923444976076554, 'mean_word_length': 4.543046357615894, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107120', 'n_tokens_mistral': 251, 'n_tokens_neox': 235, 'n_words': 90}