
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Resk helps you create gists from your source code.
It's so simple! Add a start and end comment to the part of the code you would like to turn into a gist.
For example, if you had a TypeScript file, you could do something like this:
/* resk start "users" */
const users = {
matic: {
id: 1,
name: 'Matic',
role: 'admin',
},
}
/* resk end "users" */
/* resk start "libraries" */
const libraries = {
resk: {
cool: 9001,
},
}
/* resk end "libraries" */
This would create two gists - one named users and one named libraries. Besides that, it will also create a dump in .github/resk.json which includes pointers to your latest gists. This way, you don't have to change urls as you push changes.
Supported languages:
/* resk start "<gist>" */, /* resk end "<gist>" */# resk start "<gist>", # resk end "<gist>"Note:
reskautomatically ignores everything in**/tests/**,**/dist/**, and**/node_modules/**.
Example usage:
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npx resk maticzav/resk
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
or
npx resk <owner>/<repo> [?branch="master"]
or
on: [push]
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Resk
uses: maticzav/resk@v2
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NOTE: You must provide the environment variable
GH_TOKEN.
resk?Scissors make a "resk" when you cut the paper. Making gists is like cutting gists out of a big paper.
Please create a PR with the new features. To add a new language please add a language specification in the src/languages.ts file, create a sample file in tests/__fixtures__/ folder, and add documentation above. You might also need to update some snapshots. Use yarn test -u to do that.
Thank you for contributing! :raised_hands:
MIT @ Zavadlal Matic
FAQs
Cut the gists out of your code.
We found that resk 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.