Security News
JavaScript Leaders Demand Oracle Release the JavaScript Trademark
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
@linear/sdk
Advanced tools
@linear/sdk is an SDK for interacting with the Linear API, which allows developers to programmatically manage issues, projects, teams, and other resources within the Linear app. It provides a convenient way to integrate Linear's functionalities into your own applications.
Authentication
This feature allows you to authenticate with the Linear API using an API key. The LinearClient instance is then used to make further API calls.
const { LinearClient } = require('@linear/sdk');
const client = new LinearClient({ apiKey: 'your-api-key' });
Create Issue
This feature allows you to create a new issue in a specified team. You need to provide the team ID, title, and description of the issue.
const issue = await client.issueCreate({
teamId: 'team-id',
title: 'New Issue',
description: 'Description of the issue'
});
Fetch Issues
This feature allows you to fetch a list of issues. The issues are returned as an array of nodes, which you can then process or display as needed.
const issues = await client.issues();
console.log(issues.nodes);
Update Issue
This feature allows you to update an existing issue. You need to provide the issue ID and the fields you want to update.
const updatedIssue = await client.issueUpdate('issue-id', {
title: 'Updated Title',
description: 'Updated Description'
});
Delete Issue
This feature allows you to delete an existing issue. You need to provide the issue ID, and it returns a success status.
const deleted = await client.issueDelete('issue-id');
console.log(deleted.success);
jira-client is an SDK for interacting with the JIRA API. It provides similar functionalities for managing issues, projects, and other resources within JIRA. Compared to @linear/sdk, jira-client is tailored for JIRA's ecosystem and offers extensive support for JIRA-specific features.
asana is an SDK for interacting with the Asana API. It allows developers to manage tasks, projects, teams, and other resources within Asana. Like @linear/sdk, it provides a convenient way to integrate Asana's functionalities into your applications, but it is specific to the Asana platform.
github is an SDK for interacting with the GitHub API. It allows developers to manage repositories, issues, pull requests, and other resources within GitHub. While it offers similar issue management functionalities, it is tailored for GitHub's ecosystem and includes features specific to version control and collaboration.
FAQs
The Linear Client SDK for interacting with the Linear GraphQL API
The npm package @linear/sdk receives a total of 110,114 weekly downloads. As such, @linear/sdk popularity was classified as popular.
We found that @linear/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.
Security News
In an open letter, JavaScript community leaders urge Oracle to give up the JavaScript trademark, arguing that it has been effectively abandoned through nonuse.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.