open-index/open-npm huggingface dataset:
npm package: @nirsgv/a-lert
Description: Call alert via a('message') with a tiny helper.
Author: Nir Segev
Latest version: 1.0.0

# @nirsgv/a-lert

Tiny helper that lets you call `alert` with `a('message')`. Falls back to `console.log` when `alert` is not available (for example in Node during server-side rendering).

## Install

```sh
npm install @nirsgv/a-lert
# or
yarn add @nirsgv/a-lert
```

## Usage

ESM:

```js
import a from '@nirsgv/a-lert';
// or: import { a } from '@nirsgv/a-lert';

a('Hello, world!');
```

CommonJS:

```js
const a = require('@nirsgv/a-lert');
// or: const { a } = require('@nirsgv/a-lert');

a('Hello, world!');
```

## Notes

- Works in browsers where `alert` is present.
- In environments without `alert`, it safely logs the message to the console instead.
npm package: @nirsky/widgets-fun
Description: Fun widgets utility functions
Author: Nir Hadassi
Latest version: 1.0.0

# @nirsky/widgets-fun

Fun widgets utility functions.

## Installation

```bash
npm install @nirsky/widgets-fun
```

## Usage

```javascript
const { getUserName, getAccessToken } = require('@nirsky/widgets-fun');

// Get user name
console.log(getUserName()); // "your-user-name"

// Get access token
console.log(getAccessToken()); // "your-access-token-here"
```

## API

### `getUserName()`

Returns the user name "Nir Hadassi".

### `getAccessToken()`

Returns an access token string.

## License

MIT
npm package: @nirtamir-cli/core
Description: A CLI for Solid
Author: Thomas Beer & Rahul Batra
Latest version: 0.1.0

# nirtamir-cli/core

The main package for the SolidJS CLI tool.

## Installation

Run the following command to install the CLI tool globally:

```bash
npm i -g nirtamir-cli/core
```

## Usage

For a full list of commands and how to use them, you can invoke the help command like so:

```bash
solid --help
```

Which should print this:

```bash
solid <subcommand>

where <subcommand> can be one of:

- add - Can add and install integrations: `solid add unocss`.
- docs
- new - Creates a new solid project
- set
- start - Commands specific to solid start
- playground

For more help, try running `solid <subcommand> --help`
```

## Documentation

Visit our [official documentation](https://cli.nirtamir.com/)

## Support

Reach out to us on the official [SolidJS discord](https://discord.gg/solidjs)

## Contributing

If you would like to contribute or keep up to date with the package, come join the effort over on [our GitHub](https://github.com/nirtamir2/nirtamir-cli)
npm package: @nirtamir-cli/create-app
Description: A stripped down Nir Tamir's CLI just for creating new projects
Author: Nir Tamir
Latest version: 0.1.0

# nirtamir-cli/create-app

A minimal version of the [main CLI](https://www.npmjs.com/package/nirtamir-cli/core) just for creating new projects.

Invoked with the `create-app` command
npm package: @nirtamir2/cli
Description: A CLI for Solid
Author: Thomas Beer & Rahul Batra
Latest version: 0.0.19

# nirtamir-cli/core

The main package for the SolidJS CLI tool.

## Installation

Run the following command to install the CLI tool globally:

```bash
npm i -g nirtamir-cli/core
```

## Usage

For a full list of commands and how to use them, you can invoke the help command like so:

```bash
solid --help
```

Which should print this:

```bash
solid <subcommand>

where <subcommand> can be one of:

- add - Can add and install integrations: `solid add unocss`.
- docs
- new - Creates a new solid project
- set
- start - Commands specific to solid start
- playground

For more help, try running `solid <subcommand> --help`
```

## Documentation

Visit our [official documentation](https://cli.nirtamir.com/)

## Support

Reach out to us on the official [SolidJS discord](https://discord.gg/solidjs)

## Contributing

If you would like to contribute or keep up to date with the package, come join the effort over on [our GitHub](https://github.com/nirtamir2/nirtamir-cli)
npm package: @nirtamir2/next-static-paths
Description: Static types for routing in Next.js apps
Author: Nir Tamir
Latest version: 0.6.0

# `next-static-paths`

Statically prevent HTTP 404 Not Found in your Next.js applications using TypeScript and code generation.

## Usage

```sh-session
$ pnpm add next-static-paths
# or
$ yarn add next-static-paths
# or
$ npm install next-static-paths
```

Then, from within your Next.js application root, run the following command:

```sh-session
# For pnpm users
$ pnpx next-static-paths

# For yarn users
$ yarn next-static-paths

# For npm users
$ npx next-static-paths
```

It's recommended to configure scripts in your `package.json` too

```json
{
  "dev": "next-static-paths --pages-dir ./src --output . && next dev",
  "generate-routes": "next-static-paths --pages-dir ./src --output . && :"
}
```


### `TypedLink` component

```tsx
import { TypedLink } from "@nirtamir2/next-static-paths";
function MyComponent() {
  return (
    <TypedLink as="/some/[myArgument]" myArgument="hello world">
      Hello world
    </TypedLink>
  );
}
```

### `pathFor` helper

```tsx
import { pathFor } from "@nirtamir2/next-static-paths";

function getPath() {
  return pathFor("/some/[myArgument]", { myArgument: "hello world" });
}
```
npm package: @nirtamir2/prettier-plugin-css-order
Description: Prettier plugin which sorts related style property declarations
Author: Nir Tamir
Latest version: 0.0.1

# @nirtamir2/prettier-plugin-css-order

## Motivation
This project aims to:
- Create a package contains the stylistic order I like:
  - It Contains all css properties (the other orders not contains new css and are deprecated)
  - Move margins to be above height / width
- Create a prettier plugin that sort the css properties according to my order (I want to use it)
- Create a stylelint plugin that sort the css properties according to my order (because it's easy, and some people can find it helpful)

It helps order and format

## Credits
- [prettier-plugin-style-order](https://github.com/natemoo-re/prettier-plugin-style-order)
  - [`postcss-sorting`](https://github.com/hudochenkov/postcss-sorting)
  - [`stylelint-config-rational-order`](https://github.com/constverum/stylelint-config-rational-order)
  - [`prettier-plugin-package`](https://github.com/shellscape/prettier-plugin-package) 

## Related projects

- known-css-properties
- stylelint-config-rational-order
- stylelint-config-recess-order
npm package: @nirtamir2/routes-gen-solid-start
Description: This package is a [**routes-gen**](https://github.com/sandulat/routes-gen) driver for [SolidStart](https://github.com/solidjs/solid-start).
Latest version: 0.0.6

# @routes-gen/solid-start

This package is a [**routes-gen**](https://github.com/sandulat/routes-gen) driver for [SolidStart](https://github.com/solidjs/solid-start).

## Installation

```
yarn add routes-gen @routes-gen/solid-start
```

## Usage

```
yarn routes-gen -d @routes-gen/solud-start
```

By default, it exports the routes to: `${appDirectory}/routes.d.ts`.