All Projects → FullHuman → Tosin

FullHuman / Tosin

Licence: mit
Initialize a npm package with everything included, from CI to documentation website

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Tosin

Markdown Builder
1kb Markdown builder for Node.js
Stars: ✭ 67 (-52.82%)
Mutual labels:  library, npm
Xa
Beautiful & Customizable logger ❤️
Stars: ✭ 78 (-45.07%)
Mutual labels:  package, npm
Npm Api
Node.js library for getting info from NPM’s API
Stars: ✭ 67 (-52.82%)
Mutual labels:  package, npm
Npm Git Install
Clones and (re)installs packages from remote git repos. See npm/npm#3055
Stars: ✭ 49 (-65.49%)
Mutual labels:  package, npm
Npm Try
🚆 Quickly try npm packages without writing boilerplate code.
Stars: ✭ 103 (-27.46%)
Mutual labels:  package, npm
React Native Markdown Editor
A markdown editor like github comment editor (contains preview, helper buttons)
Stars: ✭ 59 (-58.45%)
Mutual labels:  package, npm
Mockingcase
node package that converts a string to mOcKiNgCaSe
Stars: ✭ 74 (-47.89%)
Mutual labels:  package, npm
Sao Nm
Scaffold out a node module.
Stars: ✭ 30 (-78.87%)
Mutual labels:  package, npm
Geotic
Entity Component System library for javascript
Stars: ✭ 97 (-31.69%)
Mutual labels:  library, npm
Npmarket
🛒 More efficient search for node packages.
Stars: ✭ 91 (-35.92%)
Mutual labels:  package, npm
Nasa Cli
🚀 Download NASA Picture of the Day from your terminal!
Stars: ✭ 45 (-68.31%)
Mutual labels:  package, npm
Docusign Node Client
The Official DocuSign Node.js Client Library used to interact with the eSign REST API. Send, sign, and approve documents using this client.
Stars: ✭ 108 (-23.94%)
Mutual labels:  package, npm
Angular Library Starter Kit
Angular 5 Library Starter Kit based on Angular-CLI
Stars: ✭ 35 (-75.35%)
Mutual labels:  library, npm
Npmf
Fetch quick info of a npm pacakge using terminal
Stars: ✭ 64 (-54.93%)
Mutual labels:  package, npm
Gub
CLI tool for create an npm package from any repos. 🐳
Stars: ✭ 31 (-78.17%)
Mutual labels:  package, npm
Andes
Python toolbox / library for power system transient dynamics simulation with symbolic modeling and numerical analysis 🔥
Stars: ✭ 68 (-52.11%)
Mutual labels:  library, package
Laravel Tabler
Laravel Package for integrating Tabler template and this package is Laravel Mix friendly.
Stars: ✭ 20 (-85.92%)
Mutual labels:  package, template
Typac
install npm packages along with corresponding typings
Stars: ✭ 29 (-79.58%)
Mutual labels:  package, npm
Enseada
A Cloud native multi-package registry
Stars: ✭ 80 (-43.66%)
Mutual labels:  package, npm
Rando Php
RandoPhp is a open source library that implements random generators (Integer, Char, Byte, Sequences, Boolean) and take random sample from arrays
Stars: ✭ 107 (-24.65%)
Mutual labels:  library, package

Tosin

Build Status CircleCi dependencies Status devDependencies Status Codacy Badge Codacy Badge styled with prettier npm license dependabot

Tosin logo

What is Tosin?

Tosin is an opinionated way to start the creation of an npm package. It comes with everything included, from CI to a documentation website. Below is a list of its features.

Continuous Integration

Continuous integration is useful to keep an eye of the status of your repository. Do your branch build and pass all of the tests? You can do all of that manually of course but with external contributors and pull requests, you want a way to automate the process.

Tosin comes with a simple configuration for circleci and one for Travis-ci.

  • CircleCi will build the package with npm install, lint to make sure there is no code that is error-prone, and run the test. Take a look at the Next Steps section on how to add code coverage on the master branch.
  • Travis configuration will only test your package with another version of Nodejs. You can see it as a backup in case CircleCI as a problem preventing it from building your package. You can also easily understand if your build failed the test by looking at the Travis status. Since CircleCI is doing more, it can fail even though your tests pass with success.

You want to replace all of that with GitHub Actions? Take a look at the section GitHub Actions below.

Linter + Prettier

Eslint is used for linting.

ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code, with the goal of making code more consistent and avoiding bugs.

Prettier is used to format the code.

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

Testing Framework Jest

Jest is one of the most popular testing framework for Javascript. Contrary to other testing framework, Jest includes assertions library and mocking inside its framework.

Jest is a JavaScript testing framework designed to ensure correctness of any JavaScript codebase. It allows you to write tests with an approachable, familiar and feature-rich API that gives you results quickly.

GitHub files for the community

Be prepared to receive help and issues from the community. A standard Pull Request template is included as well as three issue template:

  • A bug report template
  • A feature request template
  • A standard issue template for everything else

A code of conduct is present to make sure everyone feels welcome to contribute.

Build system with Rollup

Rollup is used to compile your code. You can use ES modules and compile your code in es and commonjs format.

Rollup is a module bundler for JavaScript which compiles small pieces of code into something larger and more complex, such as a library or application. It uses the new standardized format for code modules included in the ES6 revision of JavaScript, instead of previous idiosyncratic solutions such as CommonJS and AMD. ES modules let you freely and seamlessly combine the most useful individual functions from your favorite libraries. This will eventually be possible natively everywhere, but Rollup lets you do it today.

Ready for autocompletion

Do you want to provide autocompletion when someone installed your package? If you do, the types/index.d.ts is ready to be completed. It is set in package.json as the file containing your types. Most of the IDE and code editor will use this file to provide auto-completion. It is a great way to improve developer experience.

Documentation website ready to be deployed

GitHub offers the possibility of hosting a website per repository since a long time now. You can take advantage of that to create a documentation website for your package and hosting it directly on GitHub.

Tosin comes with vuepress and a script to deploy the website to GitHub Pages. The script will deploy the files to the gh-pages branch of your repository.

Getting Started

Use it the same way you would use npm init:

npx tosin init

Once done, take a look at the documentation to do the next steps.

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

Tosin use SemVer for versioning.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].