open-index/open-npm huggingface dataset:
npm package: @pandelis/sitemap-ping
Description: Tool to ping all the URLS in an XML sitemap.
Author: Pandelis Zembashis
Latest version: 0.0.2

# Sitemap Ping

Tool to ping all the URLS in an XML sitemap.


## Usage: 

```sh
    node ping.js https://example.com/sitemap.xml
```

## Options:

You can choose to also ping with a mobile useragent using `--mobile`.

By default sitemap-ping will only use a desktop firefox useragent


```sh
usage: ping.js [-h] [-v] [--mobile] [-a ASYNC] site

Sitemap Ping

Positional arguments:
  site                  The sitemap to fetch

Optional arguments:
  -h, --help            Show this help message and exit.
  -v, --version         Show program's version number and exit.
  --mobile              Also use a mobile useragent
  -a ASYNC, --async ASYNC
                        How many GET requests to make asynchronously in
                        parallel
```
npm package: @pandell/browserslist-config
Description: Pandell browserslist shared config
Author: Pandell Technology Corporation
Latest version: 4.1.0

# @pandell/browserslist-config

This configuration reflects Pandell's browser policy for web applications.

## What is Browserslist?

Share browsers list between different front-end tools, like Autoprefixer, Stylelint and babel-preset-env.

- [Browserslist](https://github.com/browserslist/browserslist) (Github repo)
- ["Browserslist is a Good Idea"](https://css-tricks.com/browserlist-good-idea/) (blog post by [@chriscoyier](https://github.com/chriscoyier))

## Usage

Add the following to your `package.json`:

```json
{
  "browserslist": ["extends @pandell/browserslist-config"]
}
```

## Browser Support

See [browserslist.dev](https://browserslist.dev/?q=ZGVmYXVsdHMgYW5kID4gMSUsIGxhc3QgMiBDaHJvbWUgdmVyc2lvbnMsIG5vdCBkZWFkLCBub3Qgb3BfbWluaSBhbGw%3D) for the latest browsers covered by our syntax.

We use the following browserslist query:

```text
defaults and > 1%, last 2 Chrome versions, not dead, not op_mini all
```
npm package: @pandell/eslint-config
Description: Pandell ESLint shared config
Author: Pandell Technology Corporation
Latest version: 10.0.0

# @pandell/eslint-config

Shared ESLint config for Pandell engineering teams.

## Usage

Add the following to your `package.json`:

```jsonc
{
  "devDependencies": {
    "@pandell/eslint-config": "^10.0.0",
    "eslint": "^10.1.0",
    // ...
  },
  // ...
}
```

---

Next, create `eslint.config.mjs` in the root of your project. Explore available properties
in the settings object passed to `createPandellEsLintConfig` function (see `PandellEsLintConfigSettings`
in `node_modules/@pandell/eslint-config/dist/pandellEsLintConfig.d.ts`). Example contents:

```js
// @ts-check

import { definePandellEsLintConfig } from "@pandell/eslint-config";

export default definePandellEsLintConfig({
    typescript: {
        // type-checked typescript is enabled by default; uncomment the following line to disable:
        // typeChecked: false,

        // strict typescript is enabled by default; uncomment the following line to disable:
        // strict: false,
    }
    react: { enabled: true },
    vite: { enabled: true },
    testing: { enabledJsDom: true, enabledTestingLibrary: true },
});
```

For more details and options for configuration, see the
[ESLint documentation](https://eslint.org/docs/user-guide/configuring/).

---

You can review your ESLint configuration with
[ESLint config inspector](https://eslint.org/blog/2024/04/eslint-config-inspector/).
It will start a local web server and open browser that navigates to this server,
allowing you to visually examine your layers, rules, etc.

```shell
yarn run eslint --inspect-config
```
npm package: @pandell/jest-config
Description: Pandell Shared Testing Mocks
Author: Pandell Technology Corporation
Latest version: 29.0.0

# @pandell/jest-config

Shared testing mocks and helpers for Pandell engineering teams.

## Usage

To mock static assets like images, define the following mapping in `jest.config.js`:

```js
module.exports = {
    // ...
    moduleNameMapper: {
        // ...
        "\\.(jpg|png|svg)$": "@pandell/jest-config/__mocks__/fileMock.js",
    }
}
```

To perform additional setup tasks as defined in `@pandell/jest-config/configureTesting.js`, add the following setup definition:

```js
module.exports = {
    // ...
    setupFilesAfterEnv: [
        // ...
        "@pandell/jest-config/configureTesting.js"
    ]
}
```
npm package: @pandell/postcss-config
Description: Pandell PostCSS shared config
Author: Pandell Technology Corporation
Latest version: 8.2.0

# @pandell/postcss-config

Creates and configures PostCSS plugins as used in Pandell products.

Required for proper rendering of `web-pli` libraries (`@pandell/components`, `@pandell/gis`, etc).

## Usage: Vite

Add the following to your `vite.config.ts`:

```ts
// vite.config.ts

import { mixins as componentsMixins, vars as componentsVars } from "@pandell/components/css";
import { defaultPostcssPlugins } from "@pandell/postcss-config";
import { mixins as spritesMixins, vars as spritesVars } from "@pandell/sprites";
import { defineConfig } from "vite";

export default defineConfig({
    css:
        postcss: {
            // "postcss-import" via Vite, https://vite.dev/guide/features#import-inlining-and-rebasing
            // "postcss-mixins", "postcss-preset-env", "postcss-calc" via "defaultPostcssPlugins"
            plugins: defaultPostcssPlugins({
                mixins: { ...componentsMixins, ...spritesMixins },
                variables: { ...componentsVars, ...spritesVars },
            }),
        },

    // rest of Vite configuration
});
```

_Note_: `web-pli` prior to version 14 has no typing information for `@pandell/components/css`,
so TypeScript/ESLint will not be happy with the code above. To fix the issue,
add the following typings file and include it in `tsconfig.node.json`:

```ts
// vite.typings.d.ts

declare module "@pandell/components/css" {
    import type { Mixin } from "postcss";

    export const mixins: Record<string, Mixin>;
    export const vars: Record<string, string | number>;
}
```
npm package: @pandell/prettier-config
Description: Pandell Shared Prettier Config
Author: Pandell Technology Corporation
Latest version: 3.0.0

# @pandell/prettier-config

Shared Prettier config for Pandell engineering teams.

For more details and configuration options, see the [Prettier documentation](https://prettier.io/docs/en/configuration.html).

## Usage

To use modern (recommended) formatting, add the following to your `package.json`:

```json
{
  "prettier": "@pandell/prettier-config"
}
```

If you have been using Prettier in your project for a while and switching to modern
formatting would be too disruptive, add the following to your `package.json` to use
pre-September-2023 Prettier options:

```json
{
  "prettier": "@pandell/prettier-config/legacy.json"
}
```
npm package: @pandell/spritesmith-cli
Description: Adds a CLI to the spritesmith module
Author: Nicolas Bevacqua
Latest version: 2.0.0
Deprecated: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

# spritesmith-cli (Pandell fork)

> Adds a CLI to the [spritesmith][1] module

Spritesmith **is awesome** but sometimes we don't want to [run it through Grunt][2].

# Install

```shell
npm install -D spritesmith-cli
```

# Usage

```shell
spritesmith [options]
```

These are the options you can set on the CLI.

Option | Description
-------|----------------------------------------------------------------------
`--rc` | Point to a different `.spritesmith.js` configuration file

The default configuration file used will be `.spritesmith.js` at the current working directory _(`process.cwd()`)_. This file should export a few properties. Note that you can export either a single object or an array. If you use an array you'll be able to create multiple spritesheets in one shot.

Examples:

```js
'use strict';

var util = require('util');

module.exports = {
  src: './client/img/icons/**/*.{png,gif,jpg}',
  destImage: '.bin/public/img/icons.png',
  destCSS: 'client/css/generated/icons.css',
  imgPath: '/img/icons.png',
  padding: 2,
  algorithm: 'top-down',
  algorithmOpts: { sort: false },
  engine: 'gmsmith',
  cssOpts: {
    cssClass: function (item) {
      return util.format('.ic-%s:before', item.name);
    }
  }
};
```

```js
'use strict';

var util = require('util');

module.exports = [{
  src: './client/img/icons/**/*.{png,gif,jpg}',
  destImage: '.bin/public/img/icons.png',
  destCSS: 'client/css/generated/icons.css',
  imgPath: '/img/icons.png',
  cssOpts: {
    cssClass: function (item) {
      return util.format('.ic-%s:before', item.name);
    }
  }
}, {
  src: './client/img/markdown-editor/**/*.{png,gif,jpg}',
  destImage: '.bin/public/img/markdown-editor.png',
  destCSS: 'client/css/generated/markdown-editor.styl',
  imgPath: '/img/markdown-editor.png',
  cssOpts: {
    cssClass: function (item) {
      return util.format('.pm-%s:before', item.name);
    }
  }
}];
```

Note that `src` can be either a globbing pattern or an array of globbing patterns, it'll be passed straight to [`multi-glob`][3].

The `destImage` and `destCSS` properties are optional and can be omitted.
That means that you can create only one file depending on your needs.

That's about it. For configuration information please refer to the [`grunt-spritesmith`][2] and [`spritesmith`][1] packages.

# License

MIT


[1]: https://github.com/Ensighten/spritesmith
[2]: https://github.com/Ensighten/grunt-spritesmith
[3]: https://github.com/busterjs/multi-glob
npm package: @pandell/stylelint-config
Description: Pandell Shared StyleLint Config
Author: Pandell Technology Corporation
Latest version: 16.0.0

# @pandell/stylelint-config

Shared Stylelint config for Pandell engineering teams.

## Usage

Add the following to your `package.json`:

```json
{
  "stylelint": {
      "extends": [ "@pandell/stylelint-config" ]
  }
}
```

For more details and options for configuration, see the [Stylelint documentation](https://stylelint.io/user-guide/configure/).
npm package: @pandell/typescript-config
Description: Pandell Shared TypeScript Config
Author: Pandell Technology Corporation
Latest version: 5.3.0

# @pandell/typescript-config

Shared TypeScript config for Pandell engineering teams.

## Usage

Add the following to your `tsconfig.json`:

```json
{
  "extends": "@pandell/typescript-config"
}
```

For more details and options for configuration, see the [TypeScript documentation](https://www.typescriptlang.org/tsconfig).