MCPcopy Index your code
hub / github.com/RandomAPI/Randomuser.me-Node

github.com/RandomAPI/Randomuser.me-Node @v1.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.4 ↗ · + Follow
236 symbols 862 edges 131 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Randomuser.me-Node

About

This is the source code that powers the randomuser.me User Generator.

Our goal is to have a very diverse database that consists of data unique to different nationalities. While some places might have an SSN or their phone number might be formatted a certain way, other places usually follow a completely different set of rules.

Help us make the Random User Generator better by contributing to our database and teaching us the proper way of formatting data for different nationalities.

Guidelines

If you would like to help contribute data specific to a region, please keep these few rules in mind:

  1. Only add new nat data to the api/.nextRelease directory...

  2. Please keep all of the data organized.

    • Keep US data in the US directory, AU in the AU directory, etc.
  3. No duplicates. Make sure that the data you are adding isn't already on the list.

    • An easy way to remove duplicates from your file and sort:
sort -u <file> -o <file>

4. Please don't submit requests that say "make this nationality". We will accept helpful contributions, but not orders :)

Requirements

Node v9.0.0+ MongoDB

How to use

  1. Run npm install

  2. Run npm run build to build views and minify js/css

  3. Run npm test and verify all tests pass

  4. Start the server with npm start

What if I want to add a new nationality?

Go ahead! We will gladly accept new regions if they follow the guidelines above. Just place your files in a new directory in the api/.nextRelease/data folder with the appropriate 2 letter ISO Country Code (http://countrycode.org). Follow the format of the US folder for reference.

How to contact us

If you have any questions, feel free to ask us on our Twitter page @randomapi.

Core symbols most depended-on inside this repo

random
called by 206
api/1.4/api.js
random
called by 165
api/1.2/api.js
random
called by 164
api/1.3/api.js
random
called by 162
api/1.0/api.js
random
called by 160
api/1.1/api.js
include
called by 94
api/1.4/api.js
include
called by 79
api/1.2/api.js
include
called by 79
api/1.3/api.js

Shape

Function 160
Method 66
Class 10

Languages

TypeScript100%

Modules by API surface

public/js/highcharts.js46 symbols
public/js/zepto.min.js42 symbols
api/1.4/api.js21 symbols
api/1.3/api.js21 symbols
api/1.2/api.js20 symbols
api/1.1/api.js20 symbols
api/1.0/api.js19 symbols
public/js/socket.io.min.js12 symbols
public/js/photos.js5 symbols
store.js3 symbols
api/1.4/data/NO/inject.js3 symbols
api/1.3/data/NO/inject.js3 symbols

Datastores touched

LoadCollection · 1 repos
RequestCollection · 1 repos
(mongodb)Database · 1 repos

For agents

$ claude mcp add Randomuser.me-Node \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact