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 🙏

© 2026 – Pkg Stats / Ryan Hefner

cidaas-hosted-page-toolkit

v20.0.3

Published

The Cidaas Hosted Page Toolkit provides the most used components that developer needed to develop hosted pages.

Readme

CidaasHostedPageToolkit

The Cidaas Hosted Page Toolkit provides the most used components that developer needed to develop hosted pages.

Installation

npm install --save cidaas-hosted-page-toolkit

Cidaas Hosted Page Footer

To use cidaas hosted page footer, the following steps should be done:

  1. Make sure that Cidaas Hosted Page Toolkit has been installed in your application

  2. Add the CidaasHostedPageFooterModule from the toolkit in your applications's app.module

import { CidaasHostedPageFooterModule } from 'cidaas-hosted-page-toolkit';
...
@NgModule({
  ...
  imports: [
    ...
    CidaasHostedPageFooterModule,
    ...
  1. you can now use cidaas hosted page footer component in your application

html:

<lib-cidaas-hosted-page-footer [imprintUri]="cpLegalNoticeURL" [tosUri]="cpDataProtectionURL" [policyUri]="cpPolicyURL"
  [customStyle]="customStyles">
</lib-cidaas-hosted-page-footer>

component:

...
this.cpPolicyURL = 'https://www.cidaas.com/terms-of-use/';
this.cpDataProtectionURL = 'https://www.cidaas.com/privacy-policy/';
this.cpLegalNoticeURL = 'https://www.cidaas.com/legal/';
this.customStyles = {
    layout: 'column',
    backgroundColor: 'green',
}
...

cidaas hosted page footer component support the following input:

|Input | Optional | Description | | --- | --- | --- | | tosUri | yes | If exist, it will show Terms os services label in the footer that will be redirected to the input uri.| | imprintUri | yes | If exist, it will show Imprint label in the footer that will be redirected to the input uri. | | policyUri color | yes | If exist, it will show Data Policy label in the footer that will be redirected to the input uri. | | companyName | yes | If exist, company name will also be shown in the footer. | | appVersion | yes | If exist, application version will also be shown in the footer. | | customStyle | yes | Contains collection of custom styles, which would be applied to the toolkit footer. |

the following custom styles can be added to cidaas hosted page footer component:

|Style | Possible Values | Description | | --- | --- | --- | | backgroundColor | hex color code e.g. #000000, ... | Change background color of footer.| | fontColor | hex color code e.g. #000000, ... | Change font color of footer. | | fontFamily | font family e.g. calibri, ... | Change font family of footer. | | fontSize | html font size e.g. 16px, 1.2em, ... | Change font size of footer. | | height | html height e.g. 100px, 100%, ... | Change the height of footer. | | layout | ['row', 'column'] | Change the layout of footer. row for horizontal layout & column for vertical layout | | location | ['start', 'center', 'end]' | Change the allignment of footer. |

Cidaas Hosted Page Color Service

Cidaas Hosted Page Color Service contain method to calculate material color palette based on base color.

to use it, bind the service in the app module provider:

import { CidaasHostedPageColorService } from 'cidaas-hosted-page-toolkit';
...
@NgModule({
  ...
  providers: [
    ...
    CidaasHostedPageColorService,
    ...

afterward you can bind the toolkit in the component constructor and call computeColors()

import { CidaasHostedPageColorService } from 'cidaas-hosted-page-toolkit';
...
constructor(private colorService: CidaasHostedPageColorService) { }
...
const colorPalette = this.colorService.computeColors('{color code}');
...

computeColors() have the following parameter:

| Parameter | Optional | Description | | --- | --- | --- | | hex | no | Base color code, which color palette should be calculated | | type | yes | color type (e.g. primary, accent) | | algorithm | yes | algorithm to calculate color palette. If filled, its value is one of ['constantin','buckner'] |