All Projects → dntzhang → Sword

dntzhang / Sword

made SVG super easy

Programming Languages

javascript
184084 projects - #8 most used programming language

Sword

made SVG super easy.

Examples of introduction the website

Examples of Application the website

Install

the file is here: sword.js or sword.min.js

You can also install it via npm:

npm install alloysword

Sword can be used in the CommonJS/AMD module definition environment, but also directly through the script tag reference in your page ,such as:

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

you can get the Sword module by synchronizing require in the AMD module definition environment:

define(function (require) {
    var Sword = require('sword');
});

or asynchronous require:

require([ 'sword' ], function (Sword) {
});

or require in the CommonJS module definition environment:

var Sword = require('sword');

Many thanks to

License

This content is released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].