0.10.0 • Published 3 months ago

@servicetitan/acquisition-functions v0.10.0

Weekly downloads
-
License
-
Repository
-
Last release
3 months ago

@servicetitan/acquisition-functions

Synopsis

This repo contains Marketing Acquisition properties & filters converters for MongoDB Atlas Functions

Usage in functions

Example:

const { configureProcessor } = require('@servicetitan/acquisition-functions');

const { filterFetcher } = configureProcessor({
    workers: 10,
    mongoDb: mongoDbConnectionToDb,
    fetchProperties: (zip) => mongoDbConnectionToDb.collection('properties').find({zipcode: zip}, {_id: 0}),
});

exports = async () => {
    return filterFetcher.start('000000-999999');
};

Run tests

Locally:

docker-compose up -d mongo
npm run test

In Docker:

docker-compose up --from-exit-code=tests
0.10.0

3 months ago

0.9.1

4 months ago

0.9.0

4 months ago

0.8.0

7 months ago

0.5.0

10 months ago

0.7.0

7 months ago

0.6.1

8 months ago

0.6.0

8 months ago

0.4.0

11 months ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago