'google-api-javascript-client cannot be added via yarn

I'm trying to do a yarn add on google-api-javascript-client github module thinking that it should be on yarn, but its not there and is throwing 404.

➤ YN0027: google-api-javascript-client@unknown can't be resolved to a 
satisfying range
➤ YN0035: The remote server failed to provide the requested resource  
➤ YN0035:   Response Code: 404 (Not Found)
➤ YN0035:   Request Method: GET
➤ YN0035:   Request URL: https://registry.yarnpkg.com/google-api-javascript-client

The types version @types/gapi is available tho. Did they rename it or something?

Alternatively for now I am using gapi-script, but there are others that offers the same methods. I'm just confused why the official one isn't there.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source