rogeriopradoj / ghio.js
Convert urls of github.io pages into urls of repositories and vice versa
Package info
Language:JavaScript
Type:component
pkg:composer/rogeriopradoj/ghio.js
0.2.0
2014-03-26 14:12 UTC
Requires
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-09-12 23:11:29 UTC
README
Convert urls of github.io pages into urls of repositories and vice versa
Usage
<!-- include script in your html --> <script src="ghio.js"></script> <!-- maybe use this tag for testing: <script src="https://raw.github.com/rogeriopradoj/ghio.js/master/ghio.js"></script> --> <script> // main github.io to repo var io = 'http://adobe.github.io/'; var repo = Ghio.convert(io); console.log("Io: %s, Repo: %s", io, repo); // should print Io: http://adobe.github.io/, Repo: https://github.com/adobe/adobe.github.io in your browser log </script>
Package Managers
Testing
It's using QUnit for testing.
Just open test.html in your browser to see the magic taking place.
Changelog
0.2.0 - 2014-03-26
- Include more Gulp tasks
0.1.0 - 2014-03-26
- First public version
License
MIT