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

@tricoteuses/cnen

v0.1.3

Published

Retrieve & handle French CNEN (Conseil National d'Évaluation des Normes) documents

Downloads

204

Readme

Tricoteuses-Cnen

Retrieve & handle French CNEN (Conseil National d'Évaluation des Normes) documents

Tricoteuses Cnen is free and open source software.

Installation

git clone https://git.tricoteuses.fr/logiciels/tricoteuses-cnen
cd tricoteuses-cnen/
npm install

Download data

Basic usage

Create a directory to store the data, then run the following command to scrape and download CNEN documents (délibérations, ordres du jour, relevés d'avis, rapports).

mkdir ../cnen-data/
npm run data:download ../cnen-data

This retrieves documents for the current year by default.

Available Commands

  • npm run data:download <dir>: Download all CNEN document types (délibérations, bilans & rapports, ODJ & avis)
  • npm run data:retrieve_deliberations <dir>: Retrieve délibérations only
  • npm run data:retrieve_bilans_rapports <dir>: Retrieve bilans & rapports only
  • npm run data:retrieve_odj_avis <dir>: Retrieve ordres du jour & relevés d'avis only

Common Options

  • dataDir (positional, mandatory): Path to the directory where CNEN data is stored
  • --all or -a: Retrieve all years (not just current year)
  • --commit or -c: Commit data to git after download (detects changes since last run)
  • --silent or -s: Disable logging
  • --verbose or -v: Enable verbose logging (list each document)

Examples

# Download current year data
npm run data:download ../cnen-data

# Download all historical data with verbose output and git commit
./node_modules/.bin/tsx src/scripts/data-download.ts ../cnen-data --all --verbose --commit

# Retrieve only délibérations for all years
./node_modules/.bin/tsx src/scripts/retrieve_deliberations.ts ../cnen-data -a

# Retrieve only ODJ & avis silently
./node_modules/.bin/tsx src/scripts/retrieve_odj_avis.ts ../cnen-data -s

Data structure

Downloaded data is organized as follows:

cnen-data/
├── Avis/
│   └── 2026/
│       ├── CNENAVIS20260108.pdf
│       ├── CNENAVIS20260122.pdf
│       └── ...
├── Deliberations/
│   └── 2026/
│       ├── CNENDELIB20260122.pdf
│       └── ...
├── OrdreDuJour/
│   └── 2026/
│       ├── CNENODJ20260108.pdf
│       └── ...
├── Rapports/
│   └── 2024/
│       └── CNENRAPPORT20240101.pdf
└── manifest.json

The manifest.json file indexes all downloaded documents with their metadata (date, type, séance type, source URL, etc.). It enables incremental downloads — re-running the scraper skips documents already present in the manifest.

Source data

Documents are scraped from the official CNEN website: https://www.cnen.dgcl.interieur.gouv.fr/

Three pages are crawled:

The site is built on Ploopi CMS and has no public API — all data is retrieved via HTML scraping.