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

sh.cameleer-contrib

v0.9.4

Published

A package with additional Task-types, Controllers/Managers and various extensions for Cameleer.

Downloads

5

Readme

sh.Cameleer-Contrib

Cameleer-contrib is an additional package for Cameleer (https://github.com/MrShoenel/cameleer) that holds extra Task-Types, Controllers/Managers and various extensions.

Install via npm

npm install sh.cameleer-contrib

Note that this packages must be installed alongside Cameleer, because it imports Cameleer's namespace and extends its types. Cameleer relies on instanceof-checks that will not work otherwise.

List of current features

This list shows all current features of this package.

  • Managers:
    • AngularSimpleWeb:
      • An angularjs-based web-manager for cameleer that shows its log, queues and tasks and currently allows for tasks with manual schedule to trigger them.
      • This manager comes with its own express-server and supports web-sockets. typedefs and extended schemas are to be found in meta.
      • This manager is still in an early stage and will get more features and better UI soon.
    • TrayNotifier:
      • A manager that observes Cameleer, its queues and its logs for messages and posts them to the system's tray, cross-platform, thanks to node-notifier.
      • Configurable: Configure sounds and which events to monitor (work, the log, the queues). Also shows messages when idle or shutting down.
  • Controllers:
    • <none so far>; however, Cameleer comes with two built-in controllers. Please contribute yours!
  • Extras:
    • CameleerQueueObserver:
      • A class that can encapsulate a CameleerQueue and monitor all of its properties, its status, jobs, utilization etc.
      • Emits events in JSON-format and comes with/exports extensive typedefs.
    • CronSchedule:
      • A ManualSchedule for Cameleer that build on node-schedule and thus allows to schedule Tasks via cron!
    • UrlCalendar:
      • A sub-class of Calendar that can directly be constructed from a URL.
      • Supports any options that request-promise supports and forwards them (e.g. post- or authenticated requests).
    • MultiScheduler/MultiSchedule:
      • A Scheduler and a Schedule that were made to merge many Schedulers/Schedules, no matter their type.
      • Useful for Cameleer when a Task shall be run by different schedules (e.g. a Calendar and a ManualSchedule). The MultiSchedule itself is a ManualSchedule.
  • Tasks:
    • 7ZipTask:
      • A specialized task that runs 7z-processes to compress files. It automatically creates all necessary functional tasks, based on its configuration. Extra typedefs and schemas are exported.
      • This task also supports copying files/directories (recursively) by using recursive-copy internally. When compressing, setting a password is possible (can be obtained async).
      • Supports recursively creating the target directory, path- and file name substitutions (like %currentDate%) and emptying the target-directory.
  • Tools:
    • WakeOnLan:
      • An async function that supports waking computers on the network by their MAC address.
      • Uses the node package wakeonlan internally.

Contributing

  • This package:
    • This package uses subpackage so that nested packages with their own package.json are supported. The angular-simple-web Manager uses that. However, some extensions (e.g. CronSchedule) do not require a sub-package. Please choose the appropriate solution for your contribution.
    • Please submit pull-requests and make sure your code is adequately tested. Starting from version 1.0.0 we will require a coverage of 95%.
  • Your own package:
    • Should you have your own npm-package, please notify us by opening an issue in Cameleer (https://github.com/MrShoenel/cameleer). We will consider your package then and mention it in Cameleer's readme.md!