1.0.16 • Published 5 months ago

mern.common v1.0.16

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

mern.common

A collection of common utilities and modules for efficient MERN development.

This package provides reusable functions, components, and configurations for faster project setup and smoother development in MERN (MongoDB, Express, React, Node.js) stack applications.


Installation

To install the package, run:

npm install mern.common

Alternatively, if you want to install it globally, use:

npm install -g mern.common

Features

  • Shared utilities for MongoDB, Express, React, and Node.js.
  • Simplifies common tasks and reduces repetitive coding.
  • Includes reusable components, functions, and configurations.

Usage

Import and use the functionalities as required in your MERN project:

// Example: Importing a function from mern.common
const { hashPassword } = require('mern.common');

const password = 'mysecretpassword';

// Hash the password
hashPassword(password)
  .then(hashedPassword => {
    console.log('Hashed password:', hashedPassword);
  })
  .catch(err => {
    console.error('Error hashing password:', err);
  });

Be sure to explore the available modules in the documentation below for more detailed examples.


Contributing

We welcome contributions to improve mern.common! To contribute:

  1. Fork the repository.
  2. Create a new branch for your changes (git checkout -b feature-name).
  3. Commit your changes (git commit -am 'Add feature').
  4. Push to the branch (git push origin feature-name).
  5. Open a Pull Request.

Contact

For any inquiries or suggestions, feel free to reach out:

1.0.16

5 months ago

1.0.15

5 months ago

1.0.14

5 months ago

1.0.13

5 months ago

1.0.12

6 months ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.9

6 months ago

1.0.8

6 months ago

1.0.7

6 months ago

1.0.6

6 months ago

1.0.5

6 months ago

1.0.4

6 months ago

1.0.3

6 months ago

1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago