Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
tilda-client
Advanced tools
This is a Tilda API client for Node.js and browser written in Typescript.
npm i tilda-client
or
yarn add tilda-client
As demonstrated by this example, you can get a list of all projects and load detailed project data. The detailed project object contains CSS and JS data.
And also you can get a list of all pages in the project and load complete page data per each of them. The detailed page object contains HTML of the page.
You can also choose to load short or full, and standard or export versions of pages or projects. Find more detail on the API description page.
import { TildaClient, TildaProject, TildaProjectData, TildaPage, TildaPageData } from 'tilda-client';
...
const tilda = new TildaClient(config.TILDA_PUBLIC_KEY, config.TILDA_SECRET_KEY);
const projects: TildaProject[] = await tilda.getProjectsList();
console.log(`${projects.length} projects have been loaded.`);
for (const p of projects) {
const project: TildaProjectData = await tilda.getProject(p.id);
console.log(`${project.title} project has been loaded.`);
const pages: TildaPage[] = await tilda.getPagesList(p.id);
console.log(`${pages.length} pages have been loaded.`);
for (const pg of pages) {
const page: TildaPageData = await tilda.getPage(pg.id);
console.log(`${page.title} page has been loaded.`);
}
}
You can get public and secret keys in your Tilda account here.
Please read Tilda API documentation and pay attention that there is a limit to the number of requests as 150 per hour.
Drop me an email to Mikhail Monchak
FAQs
Tilda API client for Node.js and browser
The npm package tilda-client receives a total of 24 weekly downloads. As such, tilda-client popularity was classified as not popular.
We found that tilda-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.