Skip to content

Commit

Permalink
Update templated README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
anitarua authored and Momento GitHub Actions Bot committed Aug 30, 2024
1 parent 1d00857 commit ee68be0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/client-sdk-nodejs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,10 @@ the [Momento Web SDK](../client-sdk-web).
## Usage

```javascript
import {CacheClient, CacheGetResponse, Configurations, CredentialProvider} from '@gomomento/sdk';
import {CacheClient, CacheGetResponse} from '@gomomento/sdk';

async function main() {
const cacheClient = await CacheClient.create({
configuration: Configurations.Laptop.v1(),
credentialProvider: CredentialProvider.fromEnvironmentVariable('MOMENTO_API_KEY'),
defaultTtlSeconds: 60,
});

Expand Down

0 comments on commit ee68be0

Please sign in to comment.