Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
commently
Advanced tools
Commently Core is the underlying API package wrapped by the CLI
To use, you can simply import it into your project like so. Remember that you will still need to provide a GITHUB_TOKEN
or GH_TOKEN
, as well as a GITHUB_URL
(default to public github) in your environment to be able to comment.
import Commently from 'commently/core';
const commently = new Commently({
pr: '1234',
owner: 'GithubOrg',
repo: 'RepoName',
title: 'The Title of Your PR Comment',
key: 'unique-id'
});
commently
.autoComment('The body of your PR')
.then(response => {
console.log(symbols.success, `Successfully commented on ...}`);
console.log(response.data.html_url);
})
.catch(err => {
console.log(symbols.error, 'Oops! Something went wrong...');
console.log(err);
});
FAQs
Easily comment on github issues and PRs
The npm package commently receives a total of 15,782 weekly downloads. As such, commently popularity was classified as popular.
We found that commently demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.