question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add documentation

See original GitHub issue

Looking at a project’s dependencies and realizing that it uses the amazon-cognito-identity-js package as opposed to the more common aws-sdk. Since I’m unfamiliar with it, I want to understand what my options are for refactoring the code it’s used in.

I end up on the npm page, where the 32 arbitrary copy-pasta samples in the README seem old enough to drink, but I want to know what namespaces there are and what arguments the various constructors and methods actually accept, so I search for “doc” (as in “docs” or “documentation”) but that only leads me to a 404 on the Webpack website. While it’s a wonderful tool, it has very little to do with how my team writes code that interacts with AWS.

Describe the solution you’d like Perhaps auto-generating some sort of actual documentation from the Typescript definition file which is apparently present in the repository?

Edit: Or merely mentioning that the typings file exists, beyond a minimal mention in the changelog. ¯\_(ツ)_/¯

Describe alternatives you’ve considered Auth0

Additional context Developers often want to understand function arguments and return values and having documentation for your package helps them do that. Links from the official AWS docs to Javascript SDK documentation only leads to documentation for the aws-sdk package.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Sleavelycommented, Dec 6, 2019

@gergob According to the readme, the reason the amazon-archives/amazon-cognito-identity-js repo is archived is because it was merged into the amplify-js repository.

0reactions
mauerbaccommented, Oct 1, 2020

@Sleavely, I think we’ve addressed the concerns here so going to close this out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Add Documentation
This guide details the Add Documentation feature, available to teachers and team members subscribed to GOLD.
Read more >
Add data to Cloud Firestore - Firebase - Google
This guide explains how to use the set, add, or update individual documents in Cloud Firestore. If you want to write data in...
Read more >
Writing symbol documentation in your source files
Command-click the symbol in the source editor and choose Add Documentation from the Code Actions menu. A screenshot that shows the placeholder Xcode...
Read more >
git-add Documentation - Git
It only adds the content of the specified file(s) at the time the add command is run; if you want subsequent changes included...
Read more >
Edit and Create Documentation - Guidelines for Contributing ...
Edit the document. File edit menu in GitHub. If your edits requires you to replace or add images, see section on Adding ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found