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

@univ-lehavre/atlas-crf

v2.0.6

Published

CRF Service - HTTP microservice for REDCap

Readme

@univ-lehavre/atlas-crf

Microservice HTTP CRF pour exposer une API REST au-dessus de REDCap.

About

Ce service Hono encapsule le client REDCap Atlas et expose des routes, métadonnées projet, instruments, champs, records, PDF, liens de survey et recherche utilisateur par email. Il ajoute validation Effect, réponses d'erreur normalisées, rate limiting et documentation OpenAPI/Scalar côté serveur.

Features

  • Health checks: état du serveur REDCap, token et latence moyenne
  • Projet REDCap: version, informations projet, instruments, champs et noms d'export
  • Records: export, import, PDF et liens survey avec validation de requête
  • Utilisateurs: résolution d'un utilisateur REDCap par email

Usage

Server

Depuis le monorepo:

# Required environment variables
export REDCAP_API_URL=https://redcap.example.com/api/
export REDCAP_API_TOKEN=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
export PORT=3000

# Start the server
pnpm -F @univ-lehavre/atlas-crf start

Le package exporte aussi createApp() pour construire l'application Hono dans des tests ou dans un runtime serveur personnalisé.

Server API

| Endpoint | Description | | ------------------------------------------- | ----------------------------- | | GET /health | Health check | | GET /api/v1/project/version | REDCap version | | GET /api/v1/project/info | Project information | | GET /api/v1/project/instruments | REDCap instruments | | GET /api/v1/project/fields | REDCap data dictionary fields | | GET /api/v1/project/export-field-names | Export field name mappings | | GET /api/v1/records | Export records | | POST /api/v1/records | Import records | | GET /api/v1/records/:recordId/pdf | Download record PDF | | GET /api/v1/records/:recordId/survey-link | Get survey link | | GET /api/v1/users/by-email?email=... | Find a user | | GET /openapi.json | OpenAPI specification | | GET /docs | Scalar documentation |

Scripts

pnpm -F @univ-lehavre/atlas-crf start:dev        # Development server
pnpm -F @univ-lehavre/atlas-crf build            # Production build
pnpm -F @univ-lehavre/atlas-crf test             # Unit tests
pnpm -F @univ-lehavre/atlas-crf start            # Start built server
pnpm -F @univ-lehavre/atlas-crf test:api         # API tests
pnpm -F @univ-lehavre/atlas-crf test:integration # Integration tests

Documentation

  • Documentation projet CRF
  • Documentation interactive du service: GET /docs
  • Spécification OpenAPI du service: GET /openapi.json

Organization

This package is part of Atlas, a set of tools developed by Le Havre Normandie University to facilitate research and collaboration between researchers.

Atlas is developed as part of two projects led by Le Havre Normandie University:


License

MIT