Skip to content

Commit

Permalink
Rename package
Browse files Browse the repository at this point in the history
  • Loading branch information
haroldadmin committed Apr 6, 2024
1 parent 87e5a18 commit 6c9f7c2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# robotstxt-parser
# @haroldadmin/robots-parser

A parser for robots.txt files.

## Installation

```bash
npm install robotstxt-parser
npm install @haroldadmin/robots-parser
```

## Usage

Use the `parse` function to convert a robots.txt string into a parse tree.

```ts
import { parse } from "robotstxt-parser";
import { parse } from "@haroldadmin/robots-parser";

const res = await fetch("https://www.google.com/robots.txt");
const robotsTxt = await res.text();
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "robotstxt-parser",
"name": "@haroldadmin/robots-parser",
"version": "1.0.0",
"type": "module",
"exports": "./dist/index.js",
Expand All @@ -9,7 +9,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/haroldadmin/robotstxt-parser.git"
"url": "git+https://github.com/haroldadmin/@haroldadmin/robots-parser.git"
},
"keywords": [
"robots.txt",
Expand Down

0 comments on commit 6c9f7c2

Please sign in to comment.