GitXplorerGitXplorer
n

examples

public
650 stars
345 forks
26 issues

Commits

List of commits on branch main.
Verified
b29f1b74ed46b6df328e2c8b2d623c8fdf5ebb3f

Archive

bbenjamingr committed 3 months ago
Verified
abf83c1b744b78198b98f0e210c5af2aa9727cf5

fix(examples): :bug: Log the names which are saved in the file. (#38)

TThiruppathi committed 2 years ago
Verified
e8e0a0a16565a556d9c50104b7d0b585e1625582

⚙️ Ignore nodemodules when linting *.md (#30)

TThiruppathi committed 4 years ago
Verified
2e89b659a91db638263431ba46100520d617b209

feat: add example for Commander (#32)

TThiruppathi committed 4 years ago
Verified
867350f94a4910d3cc6dd5dd1df8b4df536e04b7

docs: Add @Thiruppathi to all-contributors (#31)

TThiruppathi committed 4 years ago
Verified
6f689d52269b4c0d818f0835d313f99137311904

feat: API with Express & Handlebar Templates (#28)

TThiruppathi committed 4 years ago

README

The README file for this repository.

⚠️⚠️⚠️

The contents of this repository are not up to date. The opinions and information expressed here do not necessarily reflect the up-to-date opinions of the Node.js project. It is kept here as a public archive.

⚠️⚠️⚠️


Node.js Examples

This repository is a collective of opinionated and real-world examples of how you can use Node.js to build things.

How This Repository is Structured

This repository is structured in a specific way:

  • Top-level directories are category directories of applications - for example CLI, server, and utility - that enable you to find the specific kind of example you're looking for.
  • Second-level directories are project directories named after specific modules, frameworks, platforms, or tools - for example, yargs is a CLI framework, both express and fastify are web frameworks, and moment is a utility.
  • Third-level directories are example directories, where specific examples live. You can find a full list of these examples in the Examples section below.

Here is an example of the structure in general terms:

- examples (root)
  - category
    - project
      - example
  - category
    - project
      - example
      - example
      - example
    - project
      - example
      - example
  - category
    - project
      - example
    - project
      - example
      - example

Each example has a few properties (if one doesn't, please let us know):

  • Usable example code.
  • Passing tests.
  • A README.md that explains what the example does and how to use it.

Examples

CLI

Command Line Interfaces (CLIs) are tools that can be accessed exclusively from the command line that generally serve some utility. There is a vibrant community of Node.js CLI utilities, ranging from packages to make it slightly easier to accomplish something to full frameworks for building CLI experiences.

  • CLI
    • yargs
      • countEntriesInDirectory: A small command line tool that shows how to use yargs and Node.js together, leveraging Node.js's path and fs modules to read a directory passed by the CLI user

Contributing

We've documented how to meaningfully contribute in CONTRIBUTING.md 🤗

Thank You To Our Contributors

We use All Contributors for this section of the README. Please ensure you have the all-contributors-cli installed if you're modifying it. See the All Contributors CLI Usage documentation for details on usage. See the emoji key for details on what each emoji represents.


Tierney Cyren

💻 🖋 📖 ⚠️

Matteo Collina

🚇 🤔

Thiru

💡 🚧