@softwareer/node
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@softwareer/node

Do you need my help? Visit our Discord server.

NPM Downloads License

Node Version >= 16.16.0

Installation

npm i @softwareer/node --save
# or
yarn add @softwareer/node

Importing

// CJS
const { Softwareer } = require("@softwareer/node");
const softwareer = new Softwareer("API_KEY");

// ESM
import { Softwareer } from "@softwareer/node";
const softwareer = new Softwareer("API_KEY");

Usage

(async () => {
    console.log("---- Profile ----");
    const profile = await softwareer.getProfile();
    console.log(profile);

    console.log("---- Socails ----");
    const socails = await softwareer.getSocials();
    console.log(socails);

    console.log("---- Posts ----");
    const posts = await softwareer.getPosts();
    console.log(posts);

    console.log("---- Projects ----");
    const projects = await softwareer.getProjects();
    console.log(projects);

    console.log("---- Skills ----");
    const skills = await softwareer.getSkills();
    console.log(skills);

    console.log("---- Post ----");
    const post = await softwareer.getPost('');
    console.log(post);
    // const content = softwareer.convertBase64ToString(post.content);
    // console.log(content);

    console.log("---- Project ----");
    const project = await softwareer.getProject('');
    console.log(project);
})();


Developed with ❤️ by Void Development

Package Sidebar

Install

npm i @softwareer/node

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

8.64 kB

Total Files

7

Last publish

Collaborators

  • clqu