Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@crazyfactory/tinka

Package Overview
Dependencies
Maintainers
10
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@crazyfactory/tinka

A dependency-free library to gracefully handle fetch requests.

  • 1.9.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
47
decreased by-39.74%
Maintainers
10
Weekly downloads
 
Created
Source

tinka

npm Build Status codecov dependencies Status devDependencies Status semantic-release Greenkeeper badge npm version

A dependency-free library to gracefully handle fetch requests.

Usage

Tinka can be used as a standalone requirement or better yet as a basis for fully typed API SDKs.

Contribute

Clone this repository and install project dependencies.

  • npm install

Tests

This package is tested using jest, which you can use via CLI or through most IDEs directly.

  • on CLI execute npm test to run the tests.

This will also create a code coverage report at /coverage.

For continuous testing use wallabyjs with our default configuration at ./wallaby.js

Code styles

This project uses tslint to enforce similar code styles across source and test files. Passing tslint validation is a CI requirement. You can run and validate your code style locally.

  • npm run lint lints all typescript files in the project.
  • npm run lint-fix to also fix most common errors automatically.

The project also comes with project based code-style settings for intelliJ-based IDEs like PhpStorm, Webstorm etc. You can safely use their auto cleanup features.

Build and deploy

This package is automatically build and deployed using TravisCI and semantic-release. You can however test the process locally:

  • npm run build compile sources into all desired formats.
  • npm run pack to create the final package.

Note: You'll have to edit package.json to include a version number of your choice. Don't check this in though as the version number is determined by semantic-release.

FAQs

Package last updated on 13 Nov 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc