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

clubdesk-csv-displayer

v1.1.0

Published

a simple module to load a csv and create a custom html table. Intended to use on clubdesk pages

Readme

clubdesk-csv-displayer

Aka csvtabler: A little javascript helper for clubdesk pages.

It loads a csv file from the clubdesk server, converts a csv into a html table and places it into the page.

Use Case

If you fill out a form in clubdesk pages you don't get a confirmation email. So the admins usually post the list of the form entries file.

With this little javascript you can load the file after the page load and, with this script, create an html table andd add it to the page.

Clubdesk Integration Example

Place the file from the dist folder to your owned webpage files.

<head>
 ...   
 <script type="text/javascript" src="wwwfiles/csvtabler.js"></script>
 </head>

Now you need the file id of the csv file you want to show on your page. The file needs to be publicy accessible for a public page. Let's assume the file id is 1000430

Now add an externer Inhalt block to your page and add following snippet to it:

<div>
	<h3>The title you want</h3>
	<div id="clubdesklist_title_id_you_want">
        The table will be displayed here
	</div>
</div>
<script>
$(document).ready(function(){
    const settings = {ignore_columns:["E-Mail", "Erhalten am", "Bemerkungen"]};
    csvtabler.loadFileAsTable("clubdesklist_title_id_you_want","1000430", settings);
});
</script>

Replace The title you want with a title you actually want and change the settings in the code block according to your liking. Without any changes it will display the whole csv with all columns.

Configuration option

The loadFileAsTable function accepts a dictionary with a few options:

| Name | Type | Default Value | Description | | ----------------- | ----------| ------------- | ----------- | | ignore_columns | list[str] | [] | If provided all columns are ignored when the header row matches an entry in the given array. If you want to hide the 'Email' and 'Bemerkungen' column you will use const settings = {ignore_columns:["Email", "Bemerkungen"]}; | include_numbering | boolean | false | If true a column will be added to the table with numbering starting from 1 | numbering_prefix | string | '' | If set the numbering entry will be prefixed with given argument. Providing 'Team' will result in 'Team 1', 'Team 2' etc. include_numbering must be true, can be combined with numbering_postfix | numbering_postfix | string | '' | If set the numbering entry will be postfixed with given argument. Providing '.' will result in '1.', '2.' etc. include_numbering must be true, can be combined with numbering_prefix | show_total_only | boolean | false | If set only the total number of rows will be returned. | total_title | string | 'Total' | Used together with show_total. If set it will be used the title.

Development

Todo

  • [x] Add code to integrate with html: 1. Load csv by file identifier
  • [x] Add code to integrate with html: 2. Add code to load it into a targeted html element
  • [x] Add option to output only the total number of rows - header to show the total of 'Anmeldungen' without showing the content
  • [x] Add a numbering_postfix option to enable numbering like '1.', '2.' etc.
  • [ ] Header row configurable -> ATM we assume the first row of the csv contains the header

Development

npm install

TDD! npm test

Build

run npm run build and the csvtabler.js file will be generated in the dist folder

Releases

1.0.2 (12.2.2025)

Added numbering_postfix option.

1.0.1 (1.2.2025)

Added options show_total_only and total_title for showing row count. Use case: how many entries do we have without showing the entries.

1.0.0

Initial release