Tuesday 4 October 2016

Chrome Plugin for xhr Error - JSON view - JSONParse -load library

USe unxss is chrome plugin for cross browser origin issue solution.

After added the extenstion enable the checkbox add header and method checkbox.


Get the Json value as json formatter -> chrome plug-in => JSONView plugin


Why Lodash?

JSON Parse

Lodash makes JavaScript easier by taking the hassle out of working with arrays, numbers, objects, strings, etc.
Lodash’s modular methods are great for:

Iterating arrays, objects, & strings
Manipulating & testing values
Creating composite functions

<script src="lodash.js"></script>

$ npm i -g npm
$ npm i --save lodash


// Load the full build.
var _ = require('lodash');
// Load the core build.
var _ = require('lodash/core');
// Load the FP build for immutable auto-curried iteratee-first data-last methods.
var fp = require('lodash/fp');

// Load method categories.
var array = require('lodash/array');
var object = require('lodash/fp/object');

// Cherry-pick methods for smaller browserify/rollup/webpack bundles.
var at = require('lodash/at');
var curryN = require('lodash/fp/curryN');

No comments:

Post a Comment