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

@kibocommerce/import-export-cli

v0.0.6

Published

kibo import export cli

Downloads

1

Readme

Kibo Import Export (CLI Tool)

This CLI tool provides utilities for working with the Kibo Import Export API.

Prerequisites

Ensure you have Node.js 16+ installed.

Setup

  1. Install dependencies:

    npm install @kibocommerce/import-export-cli -g
  2. Make sure the .env file is set up with the required environment variables:

    • API_URL: The API endpoint.
    • CLIENT_ID: Client ID for the API.
    • CLIENT_SECRET: Client secret for the API.

    You can use the init-env command to create an empty .env file.

    kibo-import-export init-env

Available Commands

  • validate: runs thru local validatoin
  • validate-config: Validate the configuration settings.
  • init-env: Creates an empty .env file.

Available Options

  • all: include all files
  • directory: location of the csv files
  • product-type-attributes: include the productTypeAttributes file

Usage

To use the CLI tool, run the following command:

kibo-import-export [command] [options]

Replace [command] with any of the available commands listed above.

Example:

kibo-import-export validate --all

Environment Variables

Make sure you set up the following environment variables in your .env file:

API_URL=https://t***.com/api
CLIENT_ID=YourClientID
CLIENT_SECRET=YourClientSecret

Contributing

Please raise an issue or pull request on our GitHub repository if you have any fixes, enhancements, or suggestions.

License

This project is licensed under the MIT License. See the LICENSE file for more details.


If you have any issues, please reach out to our support team or check our documentation for more details.

//create a readme from bin/index Catalog Validator Catalog Validator is a command-line tool for validating catalog data against a remote API. It uses the CatalogFetcher and Validator classes to fetch and validate catalog data.

Installation To install Catalog Validator, run the following command:

Usage Catalog Validator can be used to validate catalog data in a directory. The following options are available:

--directory (-d): The directory to process. Defaults to the current directory. --all: Validate all files in the directory. --product-type-attributes: Validate only the productTypeAttributes file. To validate catalog data, run the following command:

To validate the productTypeAttributes file, run the following command:

To create an empty .env file, run the following command:

Configuration Catalog Validator requires the following environment variables to be set:

API_URL: The URL of the remote API. CLIENT_ID: The client ID for accessing the remote API. CLIENT_SECRET: The client secret for accessing the remote API. License Catalog Validator is licensed under the MIT License.