• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created over 4 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Library which makes generating akamai cookies easier.

Abck

Abck is a library that makes generating akamai cookies easier.

Installation

$ npm install abck
$ yarn add abck

Usage

import Abck from 'abck'; // const Abck = require('abck');

function get_cf_date(): number;
function uar(userAgent: string): string;
function sed(): string;
function x2(): number;
function ab(t: string): number;
function ff(a: number): string;
function to(): { d3: number; o9: number };
function jrs(a: number): number[];
function isIgn(fidcnt: number, activeElement: Element, keyCode: number): number;
function getFloatVal(a: number): string;
function x1(): string;
function od(x: string, y: string): string;
function encode(a: string): string;
function get_mn_params_from_abck(abck: string): (string | number)[][];
function mn_get_current_challenges(abck: string): string[];
function mn_s(a: string): number[];
function bdm(a: number[], t: number): nmuber;
function ats(a: number[]): string;
function validateCookie(cookieChecks: string[], abck: string): boolean;
function getmr(): string; // Only works correctly in browser

Maintainer

ZedDev

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT