@ax-crew/tools-wordpress
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@ax-crew/tools-wordpress

WordPress integration for AxCrew agents, enabling automated content management and site administration.

Installation

First ensure you have the Basic Auth plugin installed on your WordPress site. Then install the package:

npm install @ax-crew/tools-wordpress

Usage

import { WordPressPost, WordPressConfig } from '@ax-crew/tools-wordpress';

// Configure WordPress credentials
const config: WordPressConfig = {
  credentials: {
    url: 'your_wordpress_url',
    username: 'your_username',
    password: 'your_application_password'
  }
};

// Create WordPress instance
const wordPressPost = new WordPressPost(config);

// Register with AxCrew
const customFunctions = {
  WordPressPost: wordPressPost.toFunction()
};
const crew = new AxCrew(AxCrewConfig, customFunctions);

Readme

Keywords

none

Package Sidebar

Install

npm i @ax-crew/tools-wordpress

Weekly Downloads

1

Version

1.0.1

License

none

Unpacked Size

55.3 kB

Total Files

15

Last publish

Collaborators

  • amitdeshmukh