open-index/open-npm huggingface dataset:
npm package: @murshidazher/prettier-config
Description: Prettier config
Author: Murshid Azher
Latest version: 1.0.4

# [@murshidazher/prettier-config](https://github.com/murshidazher/prettier-config) [![npm](https://img.shields.io/npm/v/@murshidazher/prettier-config.svg?label=&color=0080FF)](https://github.com/murshidazher/prettier-config/releases/latest)

![build: github workflow](https://img.shields.io/github/actions/workflow/status/murshidazher/prettier-config/release.yml?style=flat-square)
![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)

> An opinionated prettier configuration to make linting a 🌬️. **Accepting PRs**

Quickly format your JavaScript files with this easy to install and use Prettier configuration.

## Table of Contents

- [@murshidazher/prettier-config ](#murshidazherprettier-config-)
  - [Table of Contents](#table-of-contents)
  - [Purpose](#purpose)
  - [Installation](#installation)
  - [How to use](#how-to-use)
  - [Extending](#extending)
  - [Contributors](#contributors)
  - [Contributing](#contributing)
  - [License](#license)

## Purpose

[prettier](https://prettier.io/) is an opinionated code formatter easy to configure and integrate with Code Editors. This configuration aims to quickly install and config JavaScript projects for consistent code style standards.

This package can be used as a stand-alone config or integrated with any linter.

## Installation

```sh
npm install -D prettier @murshidazher/prettier-config
```

If you use yarn as the package manager,

```sh
yarn add -D prettier @murshidazher/prettier-config
```

## How to use

In your `package.json` add:

```sh
"prettier": "@murshidazher/prettier-config"
```

Under script objects

```sh
"format": "prettier --write \"{,!(node_modules)/**/}*.js\""
```

## Extending

This configuration is not intended to be changed, but if you have a setup where modification is required, it is possible. Prettier does not offer an "extends" mechanism as you might be familiar from tools such as ESLint.

To extend a configuration you will need to create either `.prettierrc.js` or `prettier.config.js` file:

```js
// .prettierrc.js
module.exports = {
    ...require('@murshidazher/prettier-config'),
    semi: false
    // more configuration options goes here!
};
```

## Contributors

[![contributors](https://contrib.rocks/image?repo=murshidazher/prettier-config)](https://github.com/murshidazher/prettier-config/graphs/contributors)

## Contributing

How to [contribute](/CONTRIBUTING.MD) to this open source library

## License

Copyright © 2020-2021 [Murshid Azher](https://murshidazher.com). This library is licensed under the [MIT](./LICENCE).
npm package: @murshisoft/docus
Description: Nuxt layer for Docus documentation theme
Latest version: 1.0.10

[![docus](https://docus.dev/__og-image__/static/og.png)](https://docus.dev)

# Docus

> A minimal and beautiful Nuxt layer for documentation websites

[![npm version](https://img.shields.io/npm/v/docus.svg)](https://www.npmjs.com/package/docus)
[![npm downloads](https://img.shields.io/npm/dm/docus.svg)](https://www.npmjs.com/package/docus)

This is the official Nuxt layer for [Docus](https://docus.dev), providing a complete documentation theming. It works with the [Docus CLI](https://github.com/nuxt-content/docus/tree/main/cli) for rapid project setup.

## 🚀 Features

- ✨ **Beautiful Design** - Clean, modern documentation theme
- 📱 **Responsive** - Mobile-first responsive design
- 🌙 **Dark Mode** - Built-in dark/light mode support
- 🌍 **Internationalization** - Native i18n support with automatic routing and language switching
- 🔍 **Search** - Full-text search functionality
- 📝 **Markdown Enhanced** - Extended markdown with custom components
- 🎨 **Customizable** - Easy theming and customization
- ⚡ **Fast** - Optimized for performance
- 🔧 **TypeScript** - Full TypeScript support
- 🛠️ **CLI Integration** - Works with Docus CLI for quick project setup

## 📦 Installation

```bash
npm install docus
```

## 🏗️ Quick Setup

### Option 1: Docus CLI (Recommended)

The easiest way to get started is using the Docus CLI, which automatically sets up a project with this layer:

```bash
# Create a new documentation project
npx create-docus my-docs

# Navigate to your project
cd my-docs

# Start development
npm run dev
```

This creates a complete documentation project pre-configured with `docus`.

For multi-language documentation, use the i18n template:

```bash
# Create a new i18n documentation project
npx create-docus my-docs -t i18n
```

### Option 2: Manual Setup

#### Option 2a: Nuxt Config (recommended)

Add the layer to your `nuxt.config.ts`:

```typescript
export default defineNuxtConfig({
  extends: ['docus']
})
```

For internationalization, also add the `@nuxtjs/i18n` module:

```typescript
export default defineNuxtConfig({
  modules: ['@nuxtjs/i18n'],
  i18n: {
    defaultLocale: 'en',
    locales: [
      { code: 'en', name: 'English' },
      { code: 'fr', name: 'Français' },
    ],
  }
})
```

#### Option 2b: CLI Usage 

Use directly with Nuxt CLI:

```bash
# Development
nuxt dev --extends docus

# Build
nuxt build --extends docus
```

## 🔗 Related Packages

- [`create-docus`](https://www.npmjs.com/package/create-docus) - CLI tool to scaffold Docus projects

## 📄 License

[MIT License](./LICENSE)

## 🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

## 📞 Support

- 📖 [Documentation](https://docus.dev)
- 🐛 [Issues](https://github.com/nuxt-content/docus/issues)
- 💬 [Discussions](https://github.com/nuxt-content/docus/discussions)

---

Made with ❤️ for the Nuxt community