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

teedy-api

v1.0.9

Published

An unoffical Teedy(https://github.com/sismics/docs) API generated using the source code found at https://github.com/sismics/docs/tree/master/docs-web/src/main/java/com/sismics/docs/rest/resource

Downloads

17

Readme

npm version

Teedy API

Unofficial Teedy API in form of a node module Teedy is a lightweight document management system packed with alot of amazing features such as OCR, a very useful web-ui with tag search and much more. visit their official website or repo to learn more.

I took the api-docs
provided by the official Teedy/sismics repo and converted it into swagger 3 with this tool,
from there, I used the official code-gen swagger tool in order to generate typescript-axios source code.

Api Docs can be found here

!----IMPORTANT REQUIREMENTS---!:

Requirements when installing/updating the module

git - in the environment path, used to clone Teedy repo
jre or jdk 8 - in the environment path, used to run the official swagger-codegen-cli.jar tool, from my tests , higher than version 8 don't work as far as I know.

Usage and examples

  • Install.
yarn add teedy-api
npm install teedy-api
  • Import/Require Usage example

perform login

import {UserApiFp} from "teedy-api";

const params = new URLSearchParams();
params.append('username', 'test');
params.append('password', 'test');
params.append('remember', "true");
const usersApi = UserApiFp({
    basePath: "https://demo.teedy.io/api/" //base url for the api
});
usersApi.userLoginPost({
    data: params,  //sent as form/urlencoded
})
    .then(r => r(/* optionally custom axios instance can be passed here for cookies etc...*/))
    .then(s => {
        //extract set-cookie from here
        console.log(s);
    });

Credits

Sismics company - for providing such an amazing software as open source.

Okoyl - Helped me along the way to plan, find relevant sources and tools to make this module possible.

License

The license chosen for this project can be found inside package.json: MIT I do not own any names or trademarks in this project. they belong to their respective companies.

Note to Sismics company

you may have this module-name(teedy-api) or ownership of the module/repo at any time. contact my email or open an issue from your official account.
I did not intend to infringe any trademarks.

Hopefully this module will save you some time, have fun and best of luck!