Skip to content

Commit

Permalink
Merge pull request #36 from armano2/fix/update-package
Browse files Browse the repository at this point in the history
  • Loading branch information
nebrelbug committed Feb 19, 2023
2 parents 0a0b6da + 043cf08 commit 6d1b43e
Show file tree
Hide file tree
Showing 17 changed files with 1,121 additions and 694 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

![GitHub package.json version (master)](https://img.shields.io/github/package-json/v/nebrelbug/npm-to-yarn/master?label=current%20version)
[![Travis](https://img.shields.io/travis/com/nebrelbug/npm-to-yarn/master.svg)](https://travis-ci.com/nebrelbug/npm-to-yarn)
[![All Contributors][logo]](#contributors-)
[![All Contributors][logo]](#contributors)
[![Coveralls](https://img.shields.io/coveralls/nebrelbug/npm-to-yarn.svg)](https://coveralls.io/github/nebrelbug/npm-to-yarn)

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
Expand Down Expand Up @@ -40,7 +40,12 @@ convert('npm install squirrelly', 'yarn')

### API

`convert(command: string, to: 'yarn' | 'npm') -> string`
```ts
/**
* Converts between npm and yarn command
*/
export default function convert(str: string, to: 'npm' | 'yarn'): string;
```

## ✔️ Tests

Expand All @@ -53,6 +58,7 @@ To be added
## Projects using `npm-to-yarn`

- [Dynamoose](https://dynamoosejs.com)
- [Docusaurus](https://docusaurus.io)

## Contributors

Expand Down
Loading

0 comments on commit 6d1b43e

Please sign in to comment.