
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
@recursyve/deeplinks-client
Advanced tools
A TypeScript/JavaScript client for the Deeplinks API built with axios.
npm install
npm run build
import { DeeplinksClient } from "./dist";
// Create a client instance
const client = new DeeplinksClient({
baseURL: "http://localhost:3000",
apiKey: "your-api-key-here", // You need to provide an API key
timeout: 30000,
});
// Create an Android application
const androidApp = await client.createApplication({
name: "My Android App",
platform: "android",
android: {
bundleId: "com.example.myapp",
certSHA256: ["sha256:..."],
},
});
// Create an iOS application
const iosApp = await client.createApplication({
name: "My iOS App",
platform: "ios",
ios: {
bundleId: "com.example.myapp",
appId: "123456789",
teamId: "TEAM123",
},
});
// Update an application
await client.updateApplication(androidApp.id, {
name: "Updated App Name",
android: {
certSHA256: {
add: ["sha256:newcert"],
remove: ["sha256:oldcert"],
},
},
});
// Create a new domain
const domain = await client.createDomain({
domain: "example.com",
});
// Create a dynamic link
const dynamicLink = await client.createDynamicLink({
domain: "example.com",
urlSuffix: "product/123",
deepLinkUrl: "myapp://product/123",
name: "Product Link",
android: {
bundleId: "com.example.myapp",
fallbackTo: "store",
},
ios: {
bundleId: "com.example.myapp",
fallbackTo: "url",
fallbackUrl: "https://example.com/fallback",
},
});
// Fetch link details
const linkDetails = await client.fetchLinkDetails(dynamicLink.code, {
domain: "example.com",
});
try {
const application = await client.createApplication({
name: "My App",
platform: "android",
android: {
bundleId: "com.example.myapp",
},
});
} catch (error) {
if (error.status === 400) {
console.error("Bad request:", error.message);
} else if (error.status === 401) {
console.error("Unauthorized - check your API key");
} else if (error.status === 404) {
console.error("Resource not found");
} else {
console.error("Unexpected error:", error.message);
}
}
// Make a custom request
const response = await client.request({
method: "GET",
url: "/custom-endpoint",
params: { custom: "param" },
});
apiKey
(string): Required API key for authenticationbaseURL
(string): Base URL for the API (default: "http://localhost:3000")timeout
(number): Request timeout in milliseconds (default: 30000)headers
(object): Additional headers to include in requestscreateApplication(data)
: Create a new applicationupdateApplication(id, data)
: Update an application by IDcreateDomain(data)
: Create a new domaincreateDynamicLink(data)
: Create a new dynamic linkfetchLinkDetails(code, params)
: Fetch dynamic link details by coderequest(config)
: Make a custom request with full controlThis project uses the latest ESLint (v9) and Prettier for code quality and formatting:
# Install dependencies
npm install
# Build the project
npm run build
# Watch for changes during development
npm run dev
# Run tests
npm test
# Lint code (ESLint v9)
npm run lint
# Fix linting issues automatically
npm run lint:fix
# Format code with Prettier
npm run format
# Check code formatting
npm run format:check
# Run all checks (lint, format, build)
npm run check
The project follows these coding standards:
.eslintrc.js
: ESLint v9 configuration with TypeScript support.eslintignore
: ESLint ignore patterns.prettierrc
: Prettier configuration matching ESLint rulestsconfig.json
: TypeScript compiler configuration (ES2024)The latest ESLint configuration includes:
??
over ||
for null/undefined checks?.
over manual null checksThe client includes full TypeScript support with comprehensive type definitions for all API requests and responses. See the src/types/index.ts
file for complete type definitions.
FAQs
Node.js client for Recursyve's Deeplinks API
The npm package @recursyve/deeplinks-client receives a total of 16 weekly downloads. As such, @recursyve/deeplinks-client popularity was classified as not popular.
We found that @recursyve/deeplinks-client demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.