npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ceddl/ceddl-aditional-inputs

v0.11.5

Published

Aditional inputs for ceddl. If the core polyfill does not have what you are looking for.

Downloads

48

Readme

@ceddl/ceddl-aditional-inputs

📦 Additional inputs for the ceddl polyfill

npm install@ceddl/ceddl-aditional-inputs

Introduction

This additional input repository for Ceddl-polyfill contains plugins. You will find solutions to common data acquisition requirements. Allowing businesses to take back control of their analytics and marketing data footprint. Do not hesitate to provide us with an excellent input solution of your own!

Install

<!--Using html script tags-->
<script src="/node_modules/@ceddl/ceddl-polyfill/dist/index.js"></script>
<script src="/node_modules/@ceddl/ceddl-aditional-inputs/dist/page-metadata.js"></script>
<script src="/node_modules/@ceddl/ceddl-aditional-inputs/dist/performance-timing.js"></script>
<script src="/node_modules/@ceddl/ceddl-aditional-inputs/dist/page-ready.js"></script>
<script src="/node_modules/@ceddl/ceddl-aditional-inputs/dist/heatmap.js"></script>
<script src="/node_modules/@ceddl/ceddl-aditional-inputs/dist/urchin-tracking.js"></script>
/** Using Javascript or typescript imports */
import {ceddl} from '@ceddl/ceddl-polyfill';
import {PageMetadata} from '@ceddl/ceddl-aditional-inputs/dist/page-metadata';
import {PageReady} from '@ceddl/ceddl-aditional-inputs/dist/page-ready';
import {Heatmap} from '@ceddl/ceddl-aditional-inputs/dist/heatmap';
import {PerformanceTiming} from '@ceddl/ceddl-aditional-inputs/dist/performance-timing';
import {UrchinTracking} from '@ceddl/ceddl-aditional-inputs/dist/urchin-tracking';


PageReady.run(ceddl);
PageMetadata.run(ceddl);
Heatmap.run(ceddl);
PerformanceTiming.run(ceddl);
UrchinTracking.run(ceddl);

Plugin page-metadata

This plugin collects primary browser & page information. The resulting set is often combined with other events to do segmentation.

ceddl.eventbus.on('pageMetadata', function (data) {
  console.log(data);
});

// "pageMetadata": {
  // "url": "http://localhost:8080/?foo=true#bar"
  // "path": "/"
  // "referrer": ""
  // "title": "CEDDL-polyfill - Bridging the gap between the spec and the browsers"
  // "url_section": []
  // "cookie": true
  // "touch": false
  // "device_pixel_ratio": 1
  // "resolution": "1920x1080"
  // "width": 1920
  // "height": 1080
  // "query_string": "?foo=true"
  // "hash": "#bar"
// }

Plugin page-ready

This plugin collects multiple events and then signals one time when the page is ready. For example, waiting on the user page authentication or products displayed

<body data-page-ready="pageMetadata user products"> </body>
ceddl.eventbus.on('pageready', function (data) {
  console.log(data);
});

Plugin performance-timing

This plugin gathers metrics regarding document navigation. For example, this interface can be used to determine how much time it took to load the page for a group of users/device types.

ceddl.eventbus.on('performanceTiming', function (data) {
  console.log(data);
});

// "performanceTiming": {
//     "redirecting": 2
//     "dnsconnect": 18
//     "request": 2
//     "response": 5
//     "domprocessing": 525
//     "load": 50
//     "transferbytes": 366533
//     "transferrequests": 37
// }

Plugin heatmap

A heat map is a data visualization technique showing where user groups click, scroll, and move on the page. A visualization example is embedded in our development setup or go to the Heatmap Blog Post

ceddl.eventbus.on('heatmap:update', function (data) {
  console.log(data);
});

Plugin urchin tracking

UTM or Urchin Tracking Module is a method to measure which campaigns and links are and aren't working. Unique codes at the end of URL(links) contain parameters that let you accurately determine the origin, the impact of your campaigns and see which marketing initiatives are gaining traction.

Government and web standards organizations are under pressure to do more for citizen's data privacy. To this end, the HTTP referrer property and possibly these UTM properties can be blocked. This plugin for Ceddl-polyfill allows you to change the prefix of the parameters if needed. We also advise using link shorteners.

import {ceddl} from '@ceddl/ceddl-polyfill';
import {UrchinTracking} from '@ceddl/ceddl-aditional-inputs/dist/urchin-tracking';

UrchinTracking.run(ceddl, {
  prefix: 'utm',
  removeOnLoad: true
});
ceddl.eventbus.on('hurchinTracking', function (data) {
  console.log(data);
});

// "urchinTracking": {
//   "source": "hubspot"
//   "medium": "email"
//   "campaign": "main"
//   "content": "A123"
//   "term": "main"
// }

On the roadmap

  1. Reading Behavior.
  2. In viewport observer. (Maybe part of polyfill)

Looking for pull requests

  1. Typing solution for eslint "Unexpected any" warnings

development

npm install
npm run dev

Will start the development server on http://localhost:8080/

License

ceddl-aditional-inputs has a MIT open source license.

CEDDL-polyfill

Customer experience digital data layer polyfill. Enable business to take back control of their analytics and marketing data footprint. For more information, please visit https://www.ceddlbyexample.com/