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 🙏

© 2024 – Pkg Stats / Ryan Hefner

config-table-exporter

v5.0.0

Published

Abstract CdkTable Exporter

Downloads

38

Readme

CdkTable Table Exporter

Node version Total Downloads

!! If you are using angular material please use mat-table-exporter

This project facilitates the common functionalities for CdkTable implementations abstracting the behavior that can change among different CdkTable implementations, see mat-table-exporter for angular material table export.

Getting Started

Install cdk-table-exporter if you are not using angular material in your project. In this case you have to implement your version of CdkTableExporter abstract class to use as your directive.

npm install cdk-table-exporter

NOTE: Angular versions older than Angular 8 should install [email protected]

npm install [email protected]

For Angular versions between 8-13 (inclusive), please install [email protected]

npm install [email protected]

After installing cdk-table-exporter import CdkTableExporterModule in your ngModule

import { CdkTableExporterModule } from 'cdk-table-exporter';
@NgModule({
  imports: [
    ...
    CdkTableExporterModule
  ],
 ]})

Usage

CdkTableExporter class defines the common functionality that an exporter directive should have. By extending it an implementing the abstract methods you will have an exporter of your own. Thus the usage is simply as follows:

  1. Generate a directive class
  2. Extend CdkTableExporter class implement the abstract methods

Contributing

This project is a library project inside ng-material-extensions angular workspace. If you are interested in the source code of this particular library you can get ready and build the project by applying the steps below:

  1. Do npm install in ng-material-extensions directory
  2. Do npm install in ng-material-extensions\projects\cdk-table-exporter directory
  3. Go to ng-material-extensions directory
  4. Build it:
ng build cdk-table-exporter
  1. You can run the showcase application and see your changes in action. In ng-material-extensions run ng s -o

 

Support & Donations

Feel free to show your support. Donating supporters will be added into Supporters section inside the README.md of the repository.

GitHub Org's stars -> Become a star-gazer, giving a star at Github

Crypto Donation -> Donate in crypto currencies

 

Licence

Apache-2.0