Skip to main content
Glama
valid-example.js955 B
// Example of code that would NOT trigger the no-reexports ESLint rule // Original exports, not re-exports export const foo = 'bar'; export function doSomething() { return true; } // Not re-exporting imported items import { thing } from './module'; export const otherThing = 'value'; // Modifying or enhancing the imported item before exporting import { importedObject } from './module'; export const enhancedObject = { ...importedObject, extraProp: true }; // Exporting a combination of imports and original values import { importedValue } from './module'; export const combined = { importedValue, // Used as part of a larger object extraStuff: 'value' }; // Processing imported value before exporting import { number } from './module'; export const doubled = number * 2; // Using imported function to create exportable value import { createValue } from './module'; export const valueFromImport = createValue() + ' with additional processing';

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/tbreeding/jira-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server