Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@atproto/syntax

Package Overview
Dependencies
Maintainers
4
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atproto/syntax - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

7

CHANGELOG.md
# @atproto/syntax
## 0.1.2
### Patch Changes
- Updated dependencies [[`41ee177f`](https://github.com/bluesky-social/atproto/commit/41ee177f5a440490280d17acd8a89bcddaffb23b)]:
- @atproto/common-web@0.2.1
## 0.1.1

@@ -4,0 +11,0 @@

16

package.json
{
"name": "@atproto/syntax",
"version": "0.1.1",
"main": "dist/index.js",
"version": "0.1.2",
"license": "MIT",
"description": "Validation for atproto identifiers and formats: DID, handle, NSID, AT URI, etc",
"keywords": [
"atproto",
"did",
"nsid",
"at-uri"
],
"homepage": "https://atproto.com",
"repository": {
"type": "git",
"url": "https://github.com/bluesky-social/atproto.git",
"url": "https://github.com/bluesky-social/atproto",
"directory": "packages/syntax"
},
"main": "dist/index.js",
"dependencies": {
"@atproto/common-web": "^0.2.0"
"@atproto/common-web": "^0.2.1"
},

@@ -14,0 +22,0 @@ "browser": {

@@ -1,7 +0,14 @@

# Syntax
# @atproto/syntax: validation helpers for identifier strings
Validation logic for AT identifiers - DIDs, Handles, NSIDs, and AT URIs.
Validation logic for [atproto](https://atproto.com) identifiers - DIDs, Handles, NSIDs, and AT URIs.
[![NPM](https://img.shields.io/npm/v/@atproto/crypto)](https://www.npmjs.com/package/@atproto/syntax)
[![Github CI Status](https://github.com/bluesky-social/atproto/actions/workflows/repo.yaml/badge.svg)](https://github.com/bluesky-social/atproto/actions/workflows/repo.yaml)
## Usage
### Handles
Syntax specification: <https://atproto.com/specs/handle>
```typescript

@@ -20,4 +27,6 @@ import { isValidHandle, ensureValidHandle, isValidDid } from '@atproto/syntax'

## NameSpaced IDs (NSID)
### NameSpaced IDs (NSID)
Syntax specification: <https://atproto.com/specs/nsid>
```typescript

@@ -47,4 +56,6 @@ import { NSID } from '@atproto/syntax'

## AT URI
### AT URI
Syntax specification: <https://atproto.com/specs/at-uri-scheme>
```typescript

@@ -51,0 +62,0 @@ import { AtUri } from '@atproto/syntax'

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc