Source code for swh.lister.npm

# Copyright (C) 2019 the Software Heritage developers
# License: GNU General Public License version 3, or any later version
# See top-level LICENSE file for more information


[docs]def register(): from .lister import NpmLister from .models import NpmModel, NpmVisitModel return { "models": [NpmVisitModel, NpmModel], "lister": NpmLister, "task_modules": ["%s.tasks" % __name__], "task_types": { "list-npm-full": { "default_interval": "7 days", "min_interval": "7 days", "max_interval": "7 days", }, }, }