npm-registry-time-machine


Namenpm-registry-time-machine JSON
Version 1.0.9 PyPI version JSON
download
home_page
SummaryProxy for limiting the release dates of packages
upload_time2023-09-25 04:02:20
maintainer
docs_urlNone
author
requires_python>=3.9.9
licenseMIT
keywords npm registry time-machine
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # NPM registry time machine

Proxy for limiting the release dates of packages.

## Usage

Run proxy:
```bash
npm-registry-time-machine --port 3000 --registry https://registry.npmjs.org --timeout 120 --max-date 2022-02-02
```

Set proxy as registry:
```bash
npm config set registry http://127.0.0.1:3000
```

Now all packages with a release date exceeding the maximum date are hidden for npm.

## How it works

This tool is a proxy between npm and the registry. The proxy receives requests from npm and sends them to the registry. Information about packages with a release date exceeding the maximum date is removed from the response. After that, the response is returned to npm. Therefore, npm uses only those packages that were released no later than the maximum date.

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "npm-registry-time-machine",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9.9",
    "maintainer_email": "",
    "keywords": "npm,registry,time-machine",
    "author": "",
    "author_email": "Alexandr Gusev <alphacity@yandex.ru>",
    "download_url": "https://files.pythonhosted.org/packages/29/d1/855f1b1dd11b9fed8de579e459670397d25cbefda703c1793db6f67a0b4e/npm-registry-time-machine-1.0.9.tar.gz",
    "platform": null,
    "description": "# NPM registry time machine\r\n\r\nProxy for limiting the release dates of packages.\r\n\r\n## Usage\r\n\r\nRun proxy:\r\n```bash\r\nnpm-registry-time-machine --port 3000 --registry https://registry.npmjs.org --timeout 120 --max-date 2022-02-02\r\n```\r\n\r\nSet proxy as registry:\r\n```bash\r\nnpm config set registry http://127.0.0.1:3000\r\n```\r\n\r\nNow all packages with a release date exceeding the maximum date are hidden for npm.\r\n\r\n## How it works\r\n\r\nThis tool is a proxy between npm and the registry. The proxy receives requests from npm and sends them to the registry. Information about packages with a release date exceeding the maximum date is removed from the response. After that, the response is returned to npm. Therefore, npm uses only those packages that were released no later than the maximum date.\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Proxy for limiting the release dates of packages",
    "version": "1.0.9",
    "project_urls": {
        "Homepage": "https://github.com/Alexandr-Gusev/npm-registry-time-machine"
    },
    "split_keywords": [
        "npm",
        "registry",
        "time-machine"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fa71fd68181ae41bf46355115757b88834dad6022775885734f4619f5c204411",
                "md5": "3bff6871bb7b5365615d796fb2f4d790",
                "sha256": "01e5d582e904767c942c3660c3810e78df393fbc7c195e8852d3790f2490eb75"
            },
            "downloads": -1,
            "filename": "npm_registry_time_machine-1.0.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "3bff6871bb7b5365615d796fb2f4d790",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9.9",
            "size": 3971,
            "upload_time": "2023-09-25T04:02:18",
            "upload_time_iso_8601": "2023-09-25T04:02:18.688499Z",
            "url": "https://files.pythonhosted.org/packages/fa/71/fd68181ae41bf46355115757b88834dad6022775885734f4619f5c204411/npm_registry_time_machine-1.0.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "29d1855f1b1dd11b9fed8de579e459670397d25cbefda703c1793db6f67a0b4e",
                "md5": "284c989fc398e3163d471e1f1b1f9492",
                "sha256": "6e6c3fa10d7d68ec085f1abbd813fb5c2353fc26955b39b97b933448c44f4522"
            },
            "downloads": -1,
            "filename": "npm-registry-time-machine-1.0.9.tar.gz",
            "has_sig": false,
            "md5_digest": "284c989fc398e3163d471e1f1b1f9492",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9.9",
            "size": 3197,
            "upload_time": "2023-09-25T04:02:20",
            "upload_time_iso_8601": "2023-09-25T04:02:20.582538Z",
            "url": "https://files.pythonhosted.org/packages/29/d1/855f1b1dd11b9fed8de579e459670397d25cbefda703c1793db6f67a0b4e/npm-registry-time-machine-1.0.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-25 04:02:20",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Alexandr-Gusev",
    "github_project": "npm-registry-time-machine",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "npm-registry-time-machine"
}
        
Elapsed time: 0.11762s