npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

ayakashi

v1.0.0-beta8.4

Published

The next generation web scraping framework

Downloads

87

Readme

The next generation web scraping framework

The web has changed. Gone are the days that raw html parsing scripts were the proper tool for the job.
Javascript and single page applications are now the norm.
Demand for data scraping and automation is higher than ever, from business needs to data science and machine learning.
Our tools need to evolve.

Ayakashi helps you build scraping and automation systems that are

  • easy to build
  • simple or sophisticated
  • highly performant
  • maintainable and built for change

Powerful querying and data models

Ayakashi's way of finding things in the page and using them is done with props and domQL.
Directly inspired by the relational database world (and SQL), domQL makes DOM access easy and readable no matter how obscure the page's structure is.
Props are the way to package domQL expressions as re-usable structures which can then be passed around to actions or to be used as models for data extraction.

domql

High level builtin actions

Ready made actions so you can focus on what matters.
Easily handle infinite scrolling, single page navigation, events and more.
Plus, you can always build your own actions, either from scratch or by composing other actions.

Preload code on pages

Need to include a bunch of code, a library you made or a 3rd party module and make it available on a page?
Preloaders have you covered.

Control how you save your data

Automatically save your extracted data to all major SQL engines, JSON and CSV.
Need something more exotic or the ability to control exactly how the data is persisted?
Package and plug your custom logic as a script.

Manage the flow with pipelines

Scraping the data is only one part of the deal.
How about something like this:

pipelines

Need it to also be clean, readable and performant?
If so, pipelines can help.

Utilize all your cores

Ayakashi can utilize available cores as needed. Especially useful for projects that need to run multiple operations in parallel.

Extend it as you like

All APIs used to build the builtin functionality are properly exposed.
All core entities are composable and extensible.

Use the language of the web

Many argue about javascript and its quirkiness as a language but the truth is:
If you want to scrape the web, you should speak its language.

Great editor support

Ayakashi comes bundled with a fully documented public API that you can explore directly in your editor.
Autocomplete any method, check signatures and examples or follow links to more documentation.

editor support

Sounds cool?
Just head over to the getting started guide!