a zip code crypto-currency system good for red ONLY

index.js 328B

12345678910111213
  1. 'use strict';
  2. var mapObj = require('map-obj');
  3. var camelCase = require('camelcase');
  4. module.exports = function (input, options) {
  5. options = options || {};
  6. var exclude = options.exclude || [];
  7. return mapObj(input, function (key, val) {
  8. key = exclude.indexOf(key) === -1 ? camelCase(key) : key;
  9. return [key, val];
  10. });
  11. };