🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

llmstxt

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

llmstxt - npm Package Compare versions

Comparing version
0.6.1
to
0.6.2
+1
-1
package.json
{
"version": "0.6.1",
"version": "0.6.2",
"name": "llmstxt",

@@ -4,0 +4,0 @@ "description": "convert `sitemap.xml` to `llms.txt`",

+26
-23

@@ -12,3 +12,3 @@ # llmstxt

```sh
$ npx -y llmstxt gen https://dotenvx.com/sitemap.xml
$ npx -y llmstxt gen https://vercel.com/sitemap.xml
```

@@ -19,8 +19,10 @@

```
$ npx -y llmstxt gen https://dotenvx.com/sitemap.xml
- [dotenvx run -f](https://dotenvx.com/docs/advanced/run-f.html): Compose multiple .env files for environment variables loading, as you need.
- [dotenvx run --log-level](https://dotenvx.com/docs/advanced/run-log-level.html): Set `--log-level` to whatever you wish.
- [dotenvx run --env HELLO=String](https://dotenvx.com/docs/advanced/run-overload.html): Override existing env variables. These can be variables already on your machine or variables loaded as files consecutively. The last variable seen will 'win'.
- [dotenvx run --quiet](https://dotenvx.com/docs/advanced/run-quiet.html): Use `--quiet` to suppress all output (except errors).
- [dotenvx run - Shell Expansion](https://dotenvx.com/docs/advanced/run-shell-expansion.html): Prevent your shell from expanding inline `$VARIABLES` before dotenvx has a chance to inject them. Use a subshell.
$ npx -y llmstxt gen https://vercel.com/sitemap.xml
- [Vercel Documentation](https://vercel.com/docs): Vercel's Frontend Cloud gives developers frameworks, workflows, and infrastructure to build a faster, more personalized web
- [Accounts on Vercel](https://vercel.com/docs/accounts): Learn how to manage your Vercel account and team members.
- [Create a Team](https://vercel.com/docs/accounts/create-a-team): Teams on Vercel allow you to collaborate with members on projects, and grant you access to additional resources. Learn how to create or join a team on Vercel.
- [Create an Account](https://vercel.com/docs/accounts/create-an-account): Learn how to create a Hobby team on Vercel and manage your login connections through your dashboard.
- [Manage Emails](https://vercel.com/docs/accounts/manage-emails): Learn how to manage your email addresses on Vercel.
- [Account Plans on Vercel](https://vercel.com/docs/accounts/plans): Learn about the different plans available on Vercel.
- [Vercel Enterprise Plan](https://vercel.com/docs/accounts/plans/enterprise): Learn about the Enterprise plan for Vercel, including features, pricing, and more.
...

@@ -43,6 +45,10 @@ ```

```sh
$ llmstxt gen https://dotenvx.com/sitemap.xml
- [dotenvx run -f](https://dotenvx.com/docs/advanced/run-f.html): Compose multiple .env files for environment variables loading, as you need.
- [dotenvx run --log-level](https://dotenvx.com/docs/advanced/run-log-level.html): Set `--log-level` to whatever you wish.
- [dotenvx run --quiet](https://dotenvx.com/docs/advanced/run-quiet.html): Use `--quiet` to suppress all output (except errors).
$ llmstxt gen https://vercel.com/sitemap.xml
- [Vercel Documentation](https://vercel.com/docs): Vercel's Frontend Cloud gives developers frameworks, workflows, and infrastructure to build a faster, more personalized web
- [Accounts on Vercel](https://vercel.com/docs/accounts): Learn how to manage your Vercel account and team members.
- [Create a Team](https://vercel.com/docs/accounts/create-a-team): Teams on Vercel allow you to collaborate with members on projects, and grant you access to additional resources. Learn how to create or join a team on Vercel.
- [Create an Account](https://vercel.com/docs/accounts/create-an-account): Learn how to create a Hobby team on Vercel and manage your login connections through your dashboard.
- [Manage Emails](https://vercel.com/docs/accounts/manage-emails): Learn how to manage your email addresses on Vercel.
- [Account Plans on Vercel](https://vercel.com/docs/accounts/plans): Learn about the different plans available on Vercel.
- [Vercel Enterprise Plan](https://vercel.com/docs/accounts/plans/enterprise): Learn about the Enterprise plan for Vercel, including features, pricing, and more.
...

@@ -57,3 +63,3 @@ ```

```sh
$ llmstxt gen https://dotenvx.com/sitemap.xml > llms.txt
$ llmstxt gen https://vercel.com/sitemap.xml > llms.txt
```

@@ -76,9 +82,6 @@

# exclude all blog posts
$ llmstxt gen https://dotenvx.com/sitemap.xml --exclude-path "**/blog/**"
$ llmstxt gen https://vercel.com/sitemap.xml --exclude-path "**/blog/**"
# exclude all docs
$ llmstxt gen https://dotenvx.com/sitemap.xml --exclude-path "**/docs/**"
# exclude privacy and terms
$ llmstxt gen https://dotenvx.com/sitemap.xml -ep "**/privacy**" -ep "**/terms**"
$ llmstxt gen https://vercel.com/sitemap.xml --exclude-path "**/docs/**"
```

@@ -93,6 +96,6 @@

# include all docs only
$ llmstxt gen https://dotenvx.com/sitemap.xml --include-path "**/docs/**"
$ llmstxt gen https://vercel.com/sitemap.xml --include-path "**/docs/**"
# include all blogs only
$ llmstxt gen https://dotenvx.com/sitemap.xml -ip "**/blog/**"
$ llmstxt gen https://vercel.com/sitemap.xml -ip "**/blog/**"
```

@@ -106,3 +109,3 @@

```sh
$ llmstxt gen https://dotenvx.com/sitemap.xml --replace-title 's/\| dotenvx//'
$ llmstxt gen https://vercel.com/sitemap.xml --replace-title 's/\| dotenvx//'
```

@@ -116,3 +119,3 @@

```sh
$ llmstxt gen https://dotenvx.com/sitemap.xml --title 'dotenvx'
$ llmstxt gen https://vercel.com/sitemap.xml --title 'dotenvx'
```

@@ -126,3 +129,3 @@

```sh
$ llmstxt gen https://dotenvx.com/sitemap.xml --description 'This is a description'
$ llmstxt gen https://vercel.com/sitemap.xml --description 'This is a description'
```

@@ -141,3 +144,3 @@

```sh
npx -y llmstxt@latest gen https://dotenvx.com/sitemap.xml -ep "**/privacy**" -ep "**/terms**" -ep "**/blog/**" -ep "**/stats/**" -ep "**/support/**" -rt 's/\| dotenvx//' -t 'dotenvx' > llms.txt
npx -y llmstxt@latest gen https://example.com/sitemap.xml -ep "**/privacy**" -ep "**/terms**" -ep "**/blog/**" -ep "**/stats/**" -ep "**/support/**" -rt 's/\| dotenvx//' -t 'dotenvx' > llms.txt
```

@@ -18,3 +18,3 @@ #!/usr/bin/env node

.description('generate llms.txt')
.argument('[url]', 'sitemap url', 'https://dotenvx.com/sitemap.xml')
.argument('[url]', 'sitemap url', 'https://vercel.com/sitemap.xml')
.option('-ep, --exclude-path <excludePath...>', 'path(s) to exclude from generation (default: none)')

@@ -21,0 +21,0 @@ .option('-ip, --include-path <includePath...>', 'path(s) to include from generation (default: all)')