Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including @jpmonette/req with all npm packages installed. Try it out:

var req = require("@jpmonette/req")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

@jpmonette/req v0.0.5

req is a JavaScript client library for accessing the Registre des entreprises du Québec.


Build Status Coverage Status npm version Tested with Jest License: MIT

@jpmonette/req - a JavaScript client library for accessing the Registre des entreprises du Québec.

Getting Started


$ yarn add @jpmonette/req


Search a NEQ

import REQ from "req";

const client = new REQ();
const company = await client.getNEQ("1143920115");

Search the registry

const client = new REQ();
const companies = await{ keywords: "mrc" }); => {
  console.log(`(${company.NumeroDossier}) ${company.Nom}`);
// Output:
// (1165737934) M.R.C.
// (2260227451) M.R.C.
// (1161426722) MRC CARE
// (1142443804) MRC GROUP
// ...


This library is being initially developed for one of my internal project, so API methods will likely be implemented in the order that they are needed by my project. Eventually, I would like to cover the entire API, so contributions are of course always welcome. The calling pattern is pretty well established, so adding new methods is relatively straightforward.


This library is distributed under the MIT license found in the LICENSE file.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free