nock

Open source

HTTP mocking and expectations library for Node.js

Contribute


Become a financial contributor.

Financial Contributions

Membership

Contributor

This tier is for individual people only. By sponsoring `nock` you become a contributor, just as important as contributors to documentation, code, ... Read more

Starts at$5 USD / month

Latest activity by


+ 22
Membership

Sponsor

This tier is for organizations. If you depend on `nock`, you have a vested interest that bugs and security concerns are addressed quickly, that the... Read more

Starts at$100 USD / month

Custom contribution

Donation

Make a custom one-time or recurring contribution.

Latest activity by


+ 39

Projects

Support the following initiatives from nock.

Project

Decompose

Modernize the code, lower the barrier to onboard and retain more maintainers and contributors

Events

nock is hosting the following events.

Past event

🎥 Refactoring a 10+ years old code base: nock (Part VII)

08:00 PM UTC
Live coding session
Past event

🎥 Refactoring a 10+ years old code base: nock (Part VI)

08:00 PM UTC
Live coding session
Past event

🎥 Refactoring a 10+ years old code base: nock (Part V)

08:00 PM UTC
Live Coding Session
Past event

🎥 Refactoring a 10+ years old code base: nock (Part IV)

08:00 PM UTC
Live Coding Session
Past event

🎥 Refactoring a 10+ years old code base: nock (Part III)

08:00 PM UTC
Live coding session
Past event

🎥 Refactoring a 10+ years old code base: nock (Part II)

08:00 PM UTC
Live Coding Session
Past event

🎥 Refactoring a 10+ years old code base: `nock`

08:00 PM UTC
Live coding shession

Top financial contributors

Organizations

1
Coinbase

$5,000 USD since Jun 2018

2
Third Iron

$144 USD since Feb 2019

3
Sentry

$100 USD since Oct 2021

4
CodeFund

$48.37 USD since Nov 2019

5
Metabolize

$39 USD since Nov 2018

6
ProxyCrawl

$36 USD since Feb 2019

7
FORTUNE GAMES

$29 USD since Sep 2019

8
Two Story Robot

$20 USD since Feb 2019

9
Sammenlignforbrukslån.com

$20 USD since Dec 2019

Individuals

1
Gregor Martynus

$140 USD since Apr 2018

2
Eric Casthart

$60 USD since Jan 2021

3
Hutson Betts

$50 USD since Jul 2018

4
Jonas Lilja

$45 USD since Sep 2018

5
Richard Littauer

$39 USD since Nov 2018

6
Crossword King

$26 USD since Dec 2019

7
Ryan Biwer

$22 USD since Jun 2019

8
Pelle Wessman

$16 USD since Jul 2019

9
MooYeol Lee

$16 USD since Sep 2020

10
chadfawcett

$10 USD since Feb 2019

nock is all of us

Our contributors 47

Thank you for supporting nock.

Gregor Martynus

Admin

$140 USD

nock nock! Who dat? Backer! Backer who? First b...

Coinbase

$5,000 USD

Third Iron

$144 USD

Sentry

$100 USD

CodeFund

$48 USD

Richard Littauer

Contributor

$39 USD

Budget


Transparent and open finances.

$
Today’s balance

$620.81 USD

Total raised

$5,243.20 USD

Total disbursed

$4,622.39 USD

Estimated annual budget

$306.00 USD

About


nock is the most popular HTTP mocking library for Node.js with 80+ million downloads from npm.

🎯 Goal 1: Project revitalization


nock was published by Pedro Teixeira in 2011 and maintained it very actively until early 2016. It became the defacto mocking library for http requests in Node.js. Since Pedro moved on to other projects, nock lost its velocity, the current code base does not reflect the huge development in the Node community in the past years. A bigger effort will be necessary to 

  1. Modernize the code base
  2. Overhaul the documentation
  3. Onboard more contributors and maintainers

We already managed to onboard more maintainers. With the new team, we achieved 100% test coverage in preparation to the "big refactoring".

Thanks to initial sponsoring, we were able to fund some focused work towards our first project: https://opencollective.com/nock/projects/decompose (updates: https://github.com/nock/nock/discussions/2247)

But more funds will be needed to complete the modernization of the code base, by decomposing the current monolith code base into smaller modules and migrate to native ES Modules.

The overhaul of the documentation will go hand-in-hand with decomposing the code, as the new modules will require their own docs. We do hope to raise funds to get professional help from technical writers to create a documentation worthy of a module that the JavaScript ecosystem depends on that much.

Both the code modernization and improved documentation will help with onboarding and retaining new contributors and maintainers. Once we fill that `nock` is ready to grow its community, we will organize a global event to kickstart contributions to the project. For such an event to be successful we need a clear roadmap with many actionable tasks that individuals and teams can collaborate one. Help us to make it happen :) 

🎯 Goal 2: Accountable Community Management


A vital Open Source community depends on someone accountable to grow and maintain a safe and inviting space where users, contributors, and maintainers enjoy to participate. 

Our goal is to hire someone long term for regular working hours, who shows interest and competence in attracting and retaining diverse talents. We want to create transparent processes, and automate all the chore work to nudge everyone to follow it, and to make it more fun!


If you rely on nock then help us to make nock a poster child Open Source project and community <3

Our team

Gregor Martynus

Admin
nock nock! Who dat? Backer! Backer who? First b...