@source/cdn (1.0.0)

Published 2026-02-11 03:44:08 +00:00 by hibna

Installation

@source:registry=
npm install @source/cdn@1.0.0
"@source/cdn": "1.0.0"

About this package

@source/cdn

Hibna CDN backend API'sini API key ile kullanmak icin JavaScript/TypeScript SDK.

Kurulum

npm install @source/cdn

Kullanim

import { CdnClient } from '@source/cdn';

const client = new CdnClient({
  baseUrl: 'https://cdn.hibna.com.tr',
  apiKey: '<API_KEY>',
});

const buckets = await client.listBuckets();
console.log(buckets);

Yayinlama (gits.hibna.com.tr)

  1. Hibna owner registry URL:
https://gits.hibna.com.tr/api/packages/hibna/npm/
  1. Auth bilgisini manuel girin (token veya mail/sifre):
npm login --registry https://gits.hibna.com.tr/api/packages/hibna/npm/ --scope=@source
  1. Publish komutunu calistirin:

PowerShell:

npm run sdk:publish:gits

Farkli owner registry gerekiyorsa:

$env:SDK_NPM_REGISTRY="https://gits.hibna.com.tr/api/packages/<owner>/npm/"
npm run sdk:publish:gits

Dry-run:

$env:SDK_NPM_DRY_RUN="true"
npm run sdk:publish:gits

Dependencies

Development Dependencies

ID Version
typescript ^5.7.3
Details
npm
2026-02-11 03:44:08 +00:00
1
4.7 KiB
Assets (1)
cdn-1.0.0.tgz 4.7 KiB
Versions (8) View all
1.4.0 2026-02-15
1.3.3 2026-02-14
1.3.2 2026-02-14
1.3.1 2026-02-14
1.3.0 2026-02-14