Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

systemjs/plugin-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

plugin-json

CDNJS

JSON loader plugin

Configuration

To load all URLs with .json filename extension via this plugin:

SystemJS.config({
  map: { 'plugin-json': 'plugin-json/json.js' },
  meta: { '*.json': { loader: 'plugin-json' } }
});

Testing this project

npm test

browse to http://localhost:3000/test and open the browser's development console. You should see the json object logged.