Skip to main content
HeadJS package icon

HeadJS

At under 5K minified & gzipped HeadJS provides you with: * Asset Loader Load assets when you need them. head.load("file1.js" , "file2.js" , function() { done(); }) head.load("file1.css", "file2.css", function() { done(); }) * JavaScript Organizer Defer execution of functions to the bottom of the page. head.ready(function() { imReady(); }) * Responsive Design Detect and react to resolutions with simple css classes or js tests that work without media query support. .landscape, .lt-800, .gt-1680, if (head.mobile) { } * Browser Detection Detect browsers & their version, and apply css or js logic to them. .gt-ie6, .lt-ie10, if (head.browser.ios) { } * Feature Detection Detect browser features like cssreflections, touch-enabled .no-touch if (!head.touch) { } * CSS Moderniser Detect css support like box-shadow, border-radius .no-borderradius, if (!head.borderradius) { } * CSS Router Detect which page and section someone is on and target it with specific css. .index-page, .register-page, .root-section, .user-section, * HTML5 Shim Need to support the new HTML5 tags in older browsers ? No problem ! * And more ..well, a little bit :-)

Total Downloads
76.8K
76,801
Published
Nov 15, 2012
Latest stable version

Install

.NET CLI
dotnet add package HeadJS --version 0.99.0
Package Manager Console
Install-Package HeadJS -Version 0.99.0
PackageReference
<PackageReference Include="HeadJS" Version="0.99.0" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.