Skip to content
A JavaScript library for loading all the assets with just one line.
JavaScript HTML CSS
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
dist
src
test
.gitignore
LICENSE
README.md
bower.json
gulpfile.js

README.md

Headless.js

Load all of your assets in a breeze.

Headless.js is a simple library which makes loading your website's assets a breeze.

Getting Started

<body>

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

      headless([

          './js/app.js',
          './css/file1.css',
          './css/file2.css',
          './css/file3.css'

      ]).load();

  </script>

</body>

Voilá.

Problems

If you think that you have the courage to download the repository, fix the code and then push it back again, feel free. :)

Upcoming

  • Condition-based Asset Loading
  • Parallel Loading
  • More configuration options

Changelog

  • v1.0.0
    • Initial release

Headless.js Official Website Shreyansh Pandey (334@doonschool.com)

Something went wrong with that request. Please try again.