
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
@operato/pull-to-refresh
Advanced tools
This is ES module based on
https://www.npmjs.com/package/pull-to-refresh
More information about usage or others at pull-to-refresh
This webcomponent follows the open-wc recommendation.
npm i @operato/pull-to-refresh
<script type="module">
import { pulltorefresh } from '@operato/pull-to-refresh'
pulltorefresh({
container: document.body,
scrollable: document.querySelector('#demo'),
refresh: () => {
console.log('refreshed...')
}
})
</script>
To scan the project for linting and formatting errors, run
npm run lint
To automatically fix linting and formatting errors, run
npm run format
To execute a single test run:
npm run test
To run the tests in interactive watch mode run:
npm run test:watch
To run a local instance of Storybook for your component, run
npm run storybook
To build a production version of Storybook, run
npm run storybook:build
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
web-dev-server
npm start
To run a local development server that serves the basic demo located in demo/index.html
FAQs
Webcomponent pull-to-refresh following open-wc recommendations
The npm package @operato/pull-to-refresh receives a total of 811 weekly downloads. As such, @operato/pull-to-refresh popularity was classified as not popular.
We found that @operato/pull-to-refresh demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.