
Company News
Meet the Socket Team at RSAC and BSidesSF 2026
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.
@cafebazaar/jaldi
Advanced tools
Jaldi (جَلدی, meaning Courage) is an INTERNAL library for Cafebazaar to create application/ld+json objects of Cafebazaar HTML pages.
First install Jaldi from terminal:
npm i @cafebazaar/jaldi
# or
yarn add @cafebazaar/jaldi
And then, register it on your application:
script.js
// ESM
import jaldi from '@cafebazaar/jaldi';
// or
import { app, website } from '@cafebazaar/jaldi';
// CommonJS
const jaldi = require('@cafebazaar/jaldi');
// or
const { app, website } = require('@cafebazaar/jaldi');
index.html
<script src="https://unpkg.com/idate@0.1.x/dist/idate.min.js"></script>
<script src="https://unpkg.com/@cafebazaar/jaldi@0.0.x/dist/jaldi.iife.min.js"></script>
<script>
// window.jaldi is available
</script>
After registring Jaldi, you can use these methods to get json-ld object:
const websiteLd = jaldi.website();
const corporationLd = jaldi.corporation();
const appDetailsObject = dilmaj('appDetailsV2Request', {
packageName: 'ir.divar',
});
const appLd = jaldi.app(appDetailsObject);
const movieDetailsObject = dilmaj('VideoDetailsRequest', {
videoId: 'ECM70kLh',
});
const movieLd = jaldi.movie(movieDetailsObject);
const episodeDetailsObject = dilmaj('EpisodeDetailsRequest', {
episodeId: 'Captain_Tsubasa_2018_-_E05_25RpD_filimo_episode',
});
const episodeLd = jaldi.episode(episodeDetailsObject);
const seriesDetailsObject = dilmaj('SeriesDetailsRequest', {
seriesId: '5iWFN_filimo_series',
});
const seriesLd = jaldi.series(seriesDetailsObject);
NOT IMPLEMENTED YET
const pageObject = dilmaj('GetPageV2Request', {
path: 'list~app~editorial~ml-best-updated-apps~DEFAULT',
});
const vitrinListLd = jaldi.vitrinList(pageObject);
FAQs
Create json-ld to used in Cafebazaar pages
The npm package @cafebazaar/jaldi receives a total of 1 weekly downloads. As such, @cafebazaar/jaldi popularity was classified as not popular.
We found that @cafebazaar/jaldi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.

Company News
Join Socket for live demos, rooftop happy hours, and one-on-one meetings during BSidesSF and RSA 2026 in San Francisco.

Research
/Security News
Malicious Packagist packages disguised as Laravel utilities install an encrypted PHP RAT via Composer dependencies, enabling remote access and C2 callbacks.

Research
/Security News
OpenVSX releases of Aqua Trivy 1.8.12 and 1.8.13 contained injected natural-language prompts that abuse local AI coding agents for system inspection and potential data exfiltration.