New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

tla

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tla

Scan npm for available three-letter acronyms

latest
Source
npmnpm
Version
3.0.0
Version published
Maintainers
1
Created
Source

tla travis npm downloads javascript style guide

Scan npm for available three-letter acronym package names

tla is 100% a fork of the always awesome @feross's module, available, with a different dictionary.txt. He did 99.95% of the work. Please support his Patreon.

install

npm install tla -g

usage

cli

Get available names from the npm registry:

$ tla
AAA
AAI
AAC
...

Full options list:

Usage:
    tla [optional-name] <options>

    Scan npm for available three-letter acronym package names.

Examples:

    Print lots of possible names:
        tla
        tla --offline

    Check for a certain name:
        tla my-cool-name
        tla my-cool-name --related
        tla my-cool-name --offline

Flags:
    -r, --related    Search for related module names (Uses thesaurus)
    -o, --offline    Force offline mode (Does not verify names are actually available)
    -v, --version    Show current version
    -h, --help       Show usage information

api

tla.getNames(opts, next)

Get available package names from npm.

If opts.online is true, verify that the names are actually available. Otherwise, a local package name database is used, which may be slightly out-of-date.

next(err, name) is called each time an available package is found. This allows for "streaming" the possible names from the registry. If err is an Error, then there was a problem and next will not be called again. name is the available package name.

tla.checkName(name, opts, next)

Check if a specific name is available on npm.

If opts.online is true, verify that the names are actually available. Otherwise, a local package name database is used, which may be slightly out-of-date.

If opts.related is true, then this will search for related module names using a thesaurus.

next(err, name) is called each time an available package is found. This allows for "streaming" the possible names from the registry. If err is an Error, then there was a problem and next will not be called again. name is the available package name.

license

MIT. Copyright (c) Feross Aboukhadijeh. ^ I dunno if I update this or not since this is a fork, so I'll leave it.

Keywords

scan npm

FAQs

Package last updated on 02 May 2019

Did you know?

Socket

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.

Install

Related posts