UNPKG

@jackdbd/permissions-policy

Version:

Define your `Permissions-Policy` in JavaScript and let this library generate the header for you.

22 lines 680 B
import { type Options } from './options.js'; export type { Allowlist, AllowlistItem } from './allowlist.js'; export { allow_item, allowlist } from './allowlist.js'; export type { Feature } from './feature.js'; export { feature } from './feature.js'; export type { Options } from './options.js'; export { options } from './options.js'; export declare const permissionsPolicy: (options?: Options) => { error: Error; value?: undefined; } | { value: string; error?: undefined; }; export declare const featurePolicy: (options?: Options) => { error: Error; value?: undefined; } | { value: string; error?: undefined; }; //# sourceMappingURL=index.d.ts.map