Text plugin
JavaScript HTML
Clone or download
Latest commit 09d081b Jun 10, 2017
Failed to load latest commit information.
.gitignore add .gitignore Sep 15, 2015
LICENSE Initial commit Nov 6, 2013
README.md update readme Oct 27, 2015
package.json 0.0.11 Jun 10, 2017
test.html use amd to avoid require detections Oct 27, 2015
text.js fix esm detection Jun 10, 2017
text.txt upgrade to new plugin format May 15, 2014



SystemJS's text loading plugin. Text is loaded from the file into the variable as a string.


For SystemJS use, locate text.js in the application, and then locate it with map configuration:

  map: {
    text: 'path/to/text.js'

For installing with jspm, run jspm install text.

Basic Use

import myText from './mytext.html!text';